diff --git a/conf/diaspora_ynh b/conf/diaspora_ynh index 6160887..79323a3 100644 --- a/conf/diaspora_ynh +++ b/conf/diaspora_ynh @@ -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