mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
add pause after stop
This commit is contained in:
parent
1e9307fa15
commit
c9ec729cdf
1 changed files with 3 additions and 1 deletions
|
@ -198,7 +198,9 @@ case "$1" in
|
|||
restart|force-reload)
|
||||
[ "$VERBOSE" != no ] && log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
ret=$?
|
||||
sleep 5
|
||||
case "$ret" in
|
||||
0|1)
|
||||
do_start
|
||||
case "$?" in
|
||||
|
|
Loading…
Reference in a new issue