summaryrefslogtreecommitdiff
path: root/contrib/systemd/system
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-10-12 19:39:10 +0200
committerGitHub <noreply@github.com>2021-10-12 19:39:10 +0200
commit65e156467b5cc40e14a578a6d916e4df902d0a99 (patch)
tree5dd5cf76d091a64918f098ed321f7b116c10ddfd /contrib/systemd/system
parent214c13da0a3958e001835288488d24f933337519 (diff)
parent69b66599609c6513de8d72c45fe327312b0b81ac (diff)
downloadpodman-65e156467b5cc40e14a578a6d916e4df902d0a99.tar.gz
podman-65e156467b5cc40e14a578a6d916e4df902d0a99.tar.bz2
podman-65e156467b5cc40e14a578a6d916e4df902d0a99.zip
Merge pull request #11886 from edsantiago/unitfile_path
Unit files: Use actual installed path for podman
Diffstat (limited to 'contrib/systemd/system')
-rw-r--r--contrib/systemd/system/podman-restart.service.in (renamed from contrib/systemd/system/podman-restart.service)2
-rw-r--r--contrib/systemd/system/podman.service.in (renamed from contrib/systemd/system/podman.service)2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/systemd/system/podman-restart.service b/contrib/systemd/system/podman-restart.service.in
index baf12b3ae..a2951e111 100644
--- a/contrib/systemd/system/podman-restart.service
+++ b/contrib/systemd/system/podman-restart.service.in
@@ -6,7 +6,7 @@ StartLimitIntervalSec=0
[Service]
Type=oneshot
Environment=LOGGING="--log-level=info"
-ExecStart=/usr/bin/podman $LOGGING start --all --filter restart-policy=always
+ExecStart=@@PODMAN@@ $LOGGING start --all --filter restart-policy=always
[Install]
WantedBy=multi-user.target
diff --git a/contrib/systemd/system/podman.service b/contrib/systemd/system/podman.service.in
index cefb13ae3..132671dff 100644
--- a/contrib/systemd/system/podman.service
+++ b/contrib/systemd/system/podman.service.in
@@ -9,7 +9,7 @@ StartLimitIntervalSec=0
Type=exec
KillMode=process
Environment=LOGGING="--log-level=info"
-ExecStart=/usr/bin/podman $LOGGING system service
+ExecStart=@@PODMAN@@ $LOGGING system service
[Install]
WantedBy=multi-user.target