From bd6b3fc46e20880f0415c5221fbbf07ee8670779 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Fri, 9 Jan 2015 21:14:04 +0100 Subject: [PATCH] don't hang there --- n/syncthing/rc.syncthing | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/n/syncthing/rc.syncthing b/n/syncthing/rc.syncthing index 89005f71..ffd923f9 100644 --- a/n/syncthing/rc.syncthing +++ b/n/syncthing/rc.syncthing @@ -36,7 +36,7 @@ func_stop() { func_start() { echo -n "Starting $NAME ... " - su - $USERNAME -c "$CMD $OPTIONS" + su - $USERNAME -c "$CMD $OPTIONS" & sleep 2 if [ "$(ps aux | grep $PROCESSNAME | grep -v grep)" ]; then