mirror of
https://github.com/containers/podman.git
synced 2025-05-20 00:27:03 +08:00
correct the absolute path of rm
executable
Signed-off-by: Yuan-Hao Chen <yhchen0906@gmail.com>
This commit is contained in:
@ -97,7 +97,7 @@ After=network-online.target
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
ExecStartPre=/usr/bin/rm -f %t/%n-pid %t/%n-cid
|
||||
ExecStartPre=/bin/rm -f %t/%n-pid %t/%n-cid
|
||||
ExecStart=/usr/local/bin/podman run --conmon-pidfile %t/%n-pid --cidfile %t/%n-cid --cgroups=no-conmon -d -dit alpine
|
||||
ExecStop=/usr/local/bin/podman stop --ignore --cidfile %t/%n-cid -t 10
|
||||
ExecStopPost=/usr/local/bin/podman rm --ignore -f --cidfile %t/%n-cid
|
||||
|
Reference in New Issue
Block a user