|
|
|
@ -25,8 +25,8 @@ pidfile=/tmp/sync.pid
|
|
|
|
|
lockfile=/var/run/sync.lock
|
|
|
|
|
conffile=${SYNC_HOME}/syncserver.ini
|
|
|
|
|
GUNICORN=${SYNC_HOME}/local/bin/gunicorn
|
|
|
|
|
GUNICORN_ARGS="--paste --access-logfile /var/log/ffsync.log --daemon -p $pidfile"
|
|
|
|
|
#INVOCATION="$GUNICORN $GUNICORN_ARGS $conffile"
|
|
|
|
|
GUNICORN_ARGS="--paste $conffile --access-logfile /var/log/ffsync.log --daemon -p $pidfile"
|
|
|
|
|
#INVOCATION="$GUNICORN $GUNICORN_ARGS"
|
|
|
|
|
|
|
|
|
|
start () {
|
|
|
|
|
echo -n "Starting $prog"
|
|
|
|
@ -61,4 +61,3 @@ case "$1" in
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
exit $RETVAL
|
|
|
|
|
|
|
|
|
|