summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-12-01 09:31:14 +0100
committerValentin Rothberg <rothberg@redhat.com>2021-12-01 09:41:37 +0100
commit391248456970e736513428dbaed2b575675fb107 (patch)
treeb796208d249110ca79ae8b8194a6cb81c38c5d39 /contrib
parent31bc3586be57f459bc30124ce6dbca98f98836e8 (diff)
downloadpodman-391248456970e736513428dbaed2b575675fb107.tar.gz
podman-391248456970e736513428dbaed2b575675fb107.tar.bz2
podman-391248456970e736513428dbaed2b575675fb107.zip
systemd: replace multi-user with default.target
Replace multi-user.target with default.target across the code base. It seems like the multi-user one is not available for (rootless) users on F35 anymore is causing issues in all kinds of ways, for instance, enabling the podman.service or generated systemd units. Backport of commit 9a10e2124bb11027fc71db4c495c116277b8b7e3. Fixes: #12438 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/systemd/auto-update/podman-auto-update.service2
-rw-r--r--contrib/systemd/system/podman-restart.service2
-rw-r--r--contrib/systemd/system/podman.service2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/systemd/auto-update/podman-auto-update.service b/contrib/systemd/auto-update/podman-auto-update.service
index dc5fac8cf..7f48b6d7d 100644
--- a/contrib/systemd/auto-update/podman-auto-update.service
+++ b/contrib/systemd/auto-update/podman-auto-update.service
@@ -10,4 +10,4 @@ ExecStart=/usr/bin/podman auto-update
ExecStartPost=/usr/bin/podman image prune -f
[Install]
-WantedBy=multi-user.target default.target
+WantedBy=default.target
diff --git a/contrib/systemd/system/podman-restart.service b/contrib/systemd/system/podman-restart.service
index b8c1adca2..ebc83bd36 100644
--- a/contrib/systemd/system/podman-restart.service
+++ b/contrib/systemd/system/podman-restart.service
@@ -10,4 +10,4 @@ Environment=LOGGING="--log-level=info"
ExecStart=/usr/bin/podman $LOGGING start --all --filter restart-policy=always
[Install]
-WantedBy=multi-user.target default.target
+WantedBy=default.target
diff --git a/contrib/systemd/system/podman.service b/contrib/systemd/system/podman.service
index cefb13ae3..c814fe1ba 100644
--- a/contrib/systemd/system/podman.service
+++ b/contrib/systemd/system/podman.service
@@ -12,4 +12,4 @@ Environment=LOGGING="--log-level=info"
ExecStart=/usr/bin/podman $LOGGING system service
[Install]
-WantedBy=multi-user.target
+WantedBy=default.target