diff options
author | Yuan-Hao Chen <yhchen0906@gmail.com> | 2020-06-19 00:59:50 +0800 |
---|---|---|
committer | Yuan-Hao Chen <yhchen0906@gmail.com> | 2020-06-19 22:23:35 +0800 |
commit | f18d2751f69f90f65bd22d9d97bb9e288b683e10 (patch) | |
tree | 251767e16e9483156651544c9ff2a6d7d941ca28 /pkg/systemd/generate/pods_test.go | |
parent | 5ec29f8d4e79500915ec79824d9eb21630205f3f (diff) | |
download | podman-f18d2751f69f90f65bd22d9d97bb9e288b683e10.tar.gz podman-f18d2751f69f90f65bd22d9d97bb9e288b683e10.tar.bz2 podman-f18d2751f69f90f65bd22d9d97bb9e288b683e10.zip |
correct the absolute path of `rm` executable
Signed-off-by: Yuan-Hao Chen <yhchen0906@gmail.com>
Diffstat (limited to 'pkg/systemd/generate/pods_test.go')
-rw-r--r-- | pkg/systemd/generate/pods_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/systemd/generate/pods_test.go b/pkg/systemd/generate/pods_test.go index e12222317..874d7204e 100644 --- a/pkg/systemd/generate/pods_test.go +++ b/pkg/systemd/generate/pods_test.go @@ -74,7 +74,7 @@ Before=container-1.service container-2.service [Service] Environment=PODMAN_SYSTEMD_UNIT=%n Restart=on-failure -ExecStartPre=/usr/bin/rm -f %t/pod-123abc.pid %t/pod-123abc.pod-id +ExecStartPre=/bin/rm -f %t/pod-123abc.pid %t/pod-123abc.pod-id ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfile %t/pod-123abc.pid --pod-id-file %t/pod-123abc.pod-id --name foo --replace ExecStart=/usr/bin/podman pod start --pod-id-file %t/pod-123abc.pod-id ExecStop=/usr/bin/podman pod stop --ignore --pod-id-file %t/pod-123abc.pod-id -t 10 |