aboutsummaryrefslogtreecommitdiff
path: root/extra/stackbin.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/stackbin.service')
-rw-r--r--extra/stackbin.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/stackbin.service b/extra/stackbin.service
index a2ef4b9..d2aad39 100644
--- a/extra/stackbin.service
+++ b/extra/stackbin.service
@@ -4,14 +4,14 @@ Wants=network-online.target
After=network.target syslog.target
[Service]
-#Environment=
-WorkingDirectory=/var/www
+Environment=STACKBIN_WSGI_INI=/etc/stackbin.wsgi.ini
+WorkingDirectory=/var/stackbin
User=stackbin
Group=stackbin
Type=simple
ExecStart=/usr/sbin/stackbin.bin
TimeoutStartSec=120
-ExecStop=/usr/sbin/uwsgi --stop /var/run/stackbin-wsgi.pid
+ExecStop=/usr/sbin/uwsgi --stop /var/stackbin/stackbin-wsgi.pid
RestartSec=15
Restart=always
KillSignal=SIGINT
bgstack15