Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 9d0c3f78a5
Fetching contributors…

Cannot retrieve contributors at this time

executable file 34 lines (26 sloc) 0.813 kB
#!/bin/bash
# RestMQ
# process' user and group
USER=www-data
GROUP=www-data
# twisted reactor (select, poll, epoll, kqueue)
REACTOR=epoll
# pidfile and logfile
PIDFILE=syslogd_restmq.pid
LOGFILE=syslogd_restmq.log
# redis host, port and connection pool size
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_POOL=10
# server port, and interface to listen on
PORT=25000
#LISTEN=127.0.0.1
LISTEN=192.168.0.179
# run in foreground, for testing
export PYTHONPATH=`dirname $0`:$PYTHONPATH
exec twistd -n syslogd $*
# run in background, for production
# export PYTHONPATH=`dirname $0`:$PYTHONPATH
# exec twistd --pidfile=$PIDFILE --logfile=$LOGFILE --reactor=$REACTOR --uid=$USER --gid=$GROUP \
# restmq --redis-host=$REDIS_HOST --redis-port=$REDIS_PORT --redis-pool=$REDIS_POOL \
# --port=$PORT --listen=$LISTEN
Jump to Line
Something went wrong with that request. Please try again.