Template
1
0
dummy/config/systemd/dummy.service

13 lines
241 B
SYSTEMD
Raw Normal View History

[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
[Install]
WantedBy=default.target