2021-02-03 18:27:45 +01:00
|
|
|
[Unit]
|
|
|
|
Description=A dummy service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=always
|
|
|
|
ExecStart=/usr/bin/podman start -a dummy
|
|
|
|
ExecStop=/usr/bin/podman stop -t 2 dummy
|
2021-02-03 19:02:42 +01:00
|
|
|
ExecStop=/usr/bin/podman rm -f dummy
|
|
|
|
ExecStopPost=/bin/sleep 2
|
2021-02-03 18:27:45 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|