Updated systemd unit
This commit is contained in:
parent
70ae4e8905
commit
e0680557af
|
@ -3,9 +3,10 @@ Description=A dummy service
|
|||
|
||||
[Service]
|
||||
Restart=always
|
||||
ExecStartPre=-/usr/bin/podman rm -f dummy
|
||||
ExecStart=/usr/bin/podman run --name dummy dummy:latest
|
||||
ExecStop=/usr/bin/podman stop -t 2 dummy
|
||||
ExecStop=/usr/bin/podman rm -f dummy
|
||||
ExecStopPost=/usr/bin/podman rm -f dummy
|
||||
ExecStopPost=/bin/sleep 2
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue
Block a user