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}