From 6376b318d280abebd037966dcc23ce89b548b0bc Mon Sep 17 00:00:00 2001 From: abeudin Date: Sat, 14 Feb 2015 18:38:26 +0100 Subject: [PATCH] Update ffsync --- conf/ffsync | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/ffsync b/conf/ffsync index 5be424a..3e1b5a9 100755 --- a/conf/ffsync +++ b/conf/ffsync @@ -30,7 +30,8 @@ GUNICORN_ARGS="--paste $conffile --access-logfile /var/log/ffsync.log --daemon start () { echo -n "Starting $prog" - start-stop-daemon --start -c ${SYNC_USER} --exec $GUNICORN -- $GUNICORN_ARGS $conffile + 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 RETVAL=$? echo [ $RETVAL = 0 ] && touch ${lockfile}