aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-10-20 09:24:10 +0000
committerGitHub <noreply@github.com>2021-10-20 09:24:10 +0000
commita3dba7fdfb9faa0ac0fdd7a2f792a15165dda64d (patch)
tree19ba563e06bda9db96216e37e4b0c18045e2d714
parent2c6c80106720978897d8a31be34ea4521dff5b31 (diff)
parent12d0a850917c97314cd4fdb49e68757dfe3b5289 (diff)
downloadpodman-a3dba7fdfb9faa0ac0fdd7a2f792a15165dda64d.tar.gz
podman-a3dba7fdfb9faa0ac0fdd7a2f792a15165dda64d.tar.bz2
podman-a3dba7fdfb9faa0ac0fdd7a2f792a15165dda64d.zip
Merge pull request #12032 from eastonman/eastonman-systemd-patch-1
[CI:DOCS] Change systemd service file to be compatible with rootless mode
-rw-r--r--contrib/systemd/system/podman-restart.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/systemd/system/podman-restart.service.in b/contrib/systemd/system/podman-restart.service.in
index a2951e111..46193e2c6 100644
--- a/contrib/systemd/system/podman-restart.service.in
+++ b/contrib/systemd/system/podman-restart.service.in
@@ -5,8 +5,9 @@ StartLimitIntervalSec=0
[Service]
Type=oneshot
+RemainAfterExit=true
Environment=LOGGING="--log-level=info"
ExecStart=@@PODMAN@@ $LOGGING start --all --filter restart-policy=always
[Install]
-WantedBy=multi-user.target
+WantedBy=multi-user.target default.target