diff --git a/functions-common b/functions-common index 6d565916fa..91decb1fda 100644 --- a/functions-common +++ b/functions-common @@ -1392,7 +1392,7 @@ function write_user_unit_file { iniset -sudo $unitfile "Service" "User" "$user" iniset -sudo $unitfile "Service" "ExecStart" "$command" iniset -sudo $unitfile "Service" "KillMode" "process" - iniset -sudo $unitfile "Service" "TimeoutStopSec" "infinity" + iniset -sudo $unitfile "Service" "TimeoutStopSec" "300" iniset -sudo $unitfile "Service" "ExecReload" "$KILL_PATH -HUP \$MAINPID" if [[ -n "$group" ]]; then iniset -sudo $unitfile "Service" "Group" "$group"