From f670ef1fc0933ed74de1848cd05e4109d337245d Mon Sep 17 00:00:00 2001 From: abeudin Date: Sat, 14 Feb 2015 19:27:08 +0100 Subject: [PATCH] Update ffsync --- conf/ffsync | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/conf/ffsync b/conf/ffsync index 3e1b5a9..0f4ad0f 100755 --- a/conf/ffsync +++ b/conf/ffsync @@ -26,12 +26,10 @@ lockfile=/var/run/sync.lock conffile=${SYNC_HOME}/syncserver.ini GUNICORN=${SYNC_HOME}/local/bin/gunicorn GUNICORN_ARGS="--paste $conffile --access-logfile /var/log/ffsync.log --daemon -p $pidfile" -#INVOCATION="$GUNICORN $GUNICORN_ARGS" start () { echo -n "Starting $prog" - start-stop-daemon --start -c ffsync --exec /opt/yunohost/ffsync/local/bin/gunicorn_paster -- /opt/yunohost/ffsync/syncserver.ini --access-logfile /tmp/ffsync.log --daemon -p /tmp/sync.pid - #start-stop-daemon --start -c ${SYNC_USER} --exec $GUNICORN -- $GUNICORN_ARGS $conffile + start-stop-daemon --start -c ${SYNC_USER} --exec $GUNICORN -- $GUNICORN_ARGS RETVAL=$? echo [ $RETVAL = 0 ] && touch ${lockfile}