diff --git a/Scripts/start_service_systemd.sh b/Scripts/start_service_systemd.sh new file mode 100644 --- /dev/null +++ b/Scripts/start_service_systemd.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +source /opt/ennstatus/bin/activate +gunicorn -w 4 --chdir /srv/http/enn/ -D -p /tmp/ennstatus.pid -u http -g http -e ENNSTATUS_SETTINGS=/srv/http/enn/config.py -y 127.0.0.1 ennstatus:app