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