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