diff options
author | B Stack <bgstack15@gmail.com> | 2020-12-09 20:30:40 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-12-09 20:30:40 -0500 |
commit | 260c70e3173f3595fa183612c8641c6da36de572 (patch) | |
tree | 150f97296c0ee28bc846c3a81ce124186901c38b /config/hex-zero.etc.default | |
parent | add some example files, and experimental logging (diff) | |
download | hex-zero-260c70e3173f3595fa183612c8641c6da36de572.tar.gz hex-zero-260c70e3173f3595fa183612c8641c6da36de572.tar.bz2 hex-zero-260c70e3173f3595fa183612c8641c6da36de572.zip |
use uwsgi!
apparently uwsgi_python3 is the useful binary in Devuan
Diffstat (limited to 'config/hex-zero.etc.default')
-rw-r--r-- | config/hex-zero.etc.default | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/hex-zero.etc.default b/config/hex-zero.etc.default new file mode 100644 index 0000000..c8d8da7 --- /dev/null +++ b/config/hex-zero.etc.default @@ -0,0 +1,7 @@ +export UWSGI_USER=hex-zero +export UWSGI_BIN=/usr/bin/uwsgi_python3 +export LISTEN_HOST=localhost +export LISTEN_PORT=3031 +export PIDFILE=/run/hex-zero.pid +export LOGFILE=/var/log/hex-zero/hex-zero.log +export UWSGI_OPTS="--http-socket ${LISTEN_HOST}:${LISTEN_PORT} --wsgi-file /var/www/0x0/hex-zero.py --callable app --log-x-forwarded-for --logto ${LOGFILE} --touch-reload /var/www/0x0/hex-zero.py --touch-reload /var/www/0x0/hex-zero.conf --pidfile ${PIDFILE}" |