mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
reduce stop timeout to 3 sec instead of 30
This commit is contained in:
parent
117dc67b2a
commit
e431acfecd
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ do_stop()
|
|||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 \
|
||||
start-stop-daemon --stop --quiet --oknodo --retry=0/3/KILL/5 \
|
||||
--exec $DAEMON
|
||||
[ "$?" = 2 ] && return 2
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
|
|
Loading…
Add table
Reference in a new issue