Using systemd entirely for running a service
This commit is contained in:
@@ -3,7 +3,7 @@ Description=A dummy service
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/podman start -a 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=/bin/sleep 2
|
||||
|
Reference in New Issue
Block a user