14 lines
302 B
Desktop File
14 lines
302 B
Desktop File
[Unit]
|
|
Description=A dummy service
|
|
|
|
[Service]
|
|
Restart=always
|
|
ExecStartPre=-/usr/bin/podman rm -f dummy
|
|
ExecStart=/usr/bin/podman run --name dummy dummy:latest
|
|
ExecStop=/usr/bin/podman stop -t 2 dummy
|
|
ExecStopPost=/usr/bin/podman rm -f dummy
|
|
ExecStopPost=/bin/sleep 2
|
|
|
|
[Install]
|
|
WantedBy=default.target
|