blob: fd8275fe0c6a7d586619424f1946dfd4982b666e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# cat /etc/init/conductor-uwsgi.conf
description "uWSGI server for conductor"
start on runlevel [2345] # start on all runlevels.
stop on runlevel [!2345] # stop when shutting down.
respawn
script
/opt/app/conductor/bin/uwsgi \
-s /tmp/uwsgi.sock \
--chmod-socket=777 \
--wsgi-file /etc/nginx/conductor.wsgi \
--callable application \
--set port=8091 \
--venv /opt/app/conductor/ \
--die-on-term \
--logto /var/log/conductor/conductor-api.log
end scrip
|