Template
1
0
dummy/config/systemd/dummy.service
2021-02-03 19:08:09 +01:00

13 lines
256 B
Desktop File

[Unit]
Description=A dummy service
[Service]
Restart=always
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
[Install]
WantedBy=default.target