summaryrefslogtreecommitdiff
path: root/contrib/systemd/system/podman-restart.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd/system/podman-restart.service')
-rw-r--r--contrib/systemd/system/podman-restart.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/systemd/system/podman-restart.service b/contrib/systemd/system/podman-restart.service
index baf12b3ae..b8c1adca2 100644
--- a/contrib/systemd/system/podman-restart.service
+++ b/contrib/systemd/system/podman-restart.service
@@ -5,8 +5,9 @@ StartLimitIntervalSec=0
[Service]
Type=oneshot
+RemainAfterExit=true
Environment=LOGGING="--log-level=info"
ExecStart=/usr/bin/podman $LOGGING start --all --filter restart-policy=always
[Install]
-WantedBy=multi-user.target
+WantedBy=multi-user.target default.target