From 0dcd89aeb8bf0fd3a3ff25c8f6109aadeeb742f4 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Sat, 12 Feb 2022 13:59:57 +0100 Subject: [PATCH] 20_enable : ajout deamon-reload --- _podman-common/20_enable_container.sh | 1 + _podman-common/20_enable_pod.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/_podman-common/20_enable_container.sh b/_podman-common/20_enable_container.sh index 3720f22..885484f 100755 --- a/_podman-common/20_enable_container.sh +++ b/_podman-common/20_enable_container.sh @@ -17,4 +17,5 @@ ensure_systemd_as_user_dir_exists podman generate systemd --files --name ${container_name} mv *.service ~/.config/systemd/user/ +systemctl --user daemon-reload systemctl --user enable ${service_name} diff --git a/_podman-common/20_enable_pod.sh b/_podman-common/20_enable_pod.sh index df13d09..4d1b35f 100755 --- a/_podman-common/20_enable_pod.sh +++ b/_podman-common/20_enable_pod.sh @@ -17,4 +17,5 @@ ensure_systemd_as_user_dir_exists podman generate systemd --files --name ${pod_name} mv *.service ~/.config/systemd/user/ +systemctl --user daemon-reload systemctl --user enable ${service_name}