2021-02-03 18:27:45 +01:00
|
|
|
[Unit]
|
|
|
|
Description=A dummy service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=always
|
2021-02-03 19:12:30 +01:00
|
|
|
ExecStartPre=-/usr/bin/podman rm -f dummy
|
2021-02-03 19:08:09 +01:00
|
|
|
ExecStart=/usr/bin/podman run --name dummy dummy:latest
|
2021-02-03 18:27:45 +01:00
|
|
|
ExecStop=/usr/bin/podman stop -t 2 dummy
|
2021-02-04 12:31:54 +01:00
|
|
|
ExecStopPost=-/usr/bin/podman rm -f dummy
|
2021-02-03 19:02:42 +01:00
|
|
|
ExecStopPost=/bin/sleep 2
|
2021-02-03 18:27:45 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|