aboutsummaryrefslogtreecommitdiff
path: root/config/hex-zero.etc.default
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-12-09 20:30:40 -0500
committerB Stack <bgstack15@gmail.com>2020-12-09 20:30:40 -0500
commit260c70e3173f3595fa183612c8641c6da36de572 (patch)
tree150f97296c0ee28bc846c3a81ce124186901c38b /config/hex-zero.etc.default
parentadd some example files, and experimental logging (diff)
downloadhex-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.default7
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}"
bgstack15