timer 30 secondes pour les arrets d unit systemd

This commit is contained in:
Gitouche 2022-11-30 21:04:55 +01:00
parent 9d8a270586
commit ea3fe5320c
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ ensure_container_not_running ${container_name}
ensure_systemd_as_user_dir_exists ensure_systemd_as_user_dir_exists
podman generate systemd --files --name ${container_name} podman generate systemd --stop-timeout=30 --files --name ${container_name}
mv *.service ~/.config/systemd/user/ mv *.service ~/.config/systemd/user/
systemctl --user daemon-reload systemctl --user daemon-reload

View file

@ -14,7 +14,7 @@ ensure_pod_not_running ${pod_name}
ensure_systemd_as_user_dir_exists ensure_systemd_as_user_dir_exists
podman generate systemd --files --name ${pod_name} podman generate systemd --stop-timeout=30 --files --name ${pod_name}
mv *.service ~/.config/systemd/user/ mv *.service ~/.config/systemd/user/
systemctl --user daemon-reload systemctl --user daemon-reload