Template
1
0

Installed new version of a systemd config

This commit is contained in:
Azer Abdullaev 2021-02-11 10:56:03 +01:00
parent 3036fc932a
commit 5ae8957ab0

View File

@ -4,7 +4,7 @@ Description=A dummy service
[Service] [Service]
Restart=always Restart=always
ExecStartPre=-/usr/bin/podman rm -f dummy ExecStartPre=-/usr/bin/podman rm -f dummy
ExecStart=/usr/bin/podman run --name dummy dummy:latest ExecStart=/usr/bin/podman run --name dummy repo.rcmd.space/dummy:latest
ExecStop=/usr/bin/podman stop -t 2 dummy ExecStop=/usr/bin/podman stop -t 2 dummy
ExecStopPost=-/usr/bin/podman rm -f dummy ExecStopPost=-/usr/bin/podman rm -f dummy
ExecStopPost=/bin/sleep 2 ExecStopPost=/bin/sleep 2