timer 30 secondes pour les arrets d unit systemd
This commit is contained in:
parent
9d8a270586
commit
ea3fe5320c
|
@ -14,7 +14,7 @@ ensure_container_not_running ${container_name}
|
|||
|
||||
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/
|
||||
|
||||
systemctl --user daemon-reload
|
||||
|
|
|
@ -14,7 +14,7 @@ ensure_pod_not_running ${pod_name}
|
|||
|
||||
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/
|
||||
|
||||
systemctl --user daemon-reload
|
||||
|
|
Loading…
Reference in a new issue