diff options
author | 2017-12-17 09:04:31 -0500 | |
---|---|---|
committer | 2017-12-17 09:05:11 -0500 | |
commit | 710d958a29198b6633236c1b7cad12babfe46833 (patch) | |
tree | 5819d23e6a3b9d4e111b3debaf41ee7fe7731a78 /conductor/examples/nginx/conductor-api.upstart.conf | |
parent | 22cff5d3b51d9aa2d4fd11f657264e41063add1c (diff) |
Added all common modules in conductor directory
Added the common modules used by all the other components of Homing Optimizer.
Change-Id: I6e8a991b54ef422da66b3174f27f6998731ec188
Issue-ID: OPTFRA-11
Signed-off-by: rl001m <ruilu@research.att.com>
Diffstat (limited to 'conductor/examples/nginx/conductor-api.upstart.conf')
-rw-r--r-- | conductor/examples/nginx/conductor-api.upstart.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/conductor/examples/nginx/conductor-api.upstart.conf b/conductor/examples/nginx/conductor-api.upstart.conf new file mode 100644 index 0000000..fd8275f --- /dev/null +++ b/conductor/examples/nginx/conductor-api.upstart.conf @@ -0,0 +1,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
\ No newline at end of file |