Debian Codegraph @

debian/cyborg-api.init.in

raw
1 #!/bin/sh
2 ### BEGIN INIT INFO
3 # Provides: cyborg-api
4 # Required-Start: $network $local_fs $remote_fs $syslog
5 # Required-Stop: $remote_fs
6 # Should-Start: mongodb rabbitmq-server
7 # Should-Stop: mongodb rabbitmq-server
8 # Default-Start: 2 3 4 5
9 # Default-Stop: 0 1 6
10 # Short-Description: cyborg api
11 # Description: cyborg api
12 ### END INIT INFO
13
14 # Author: Thomas Goirand <[email protected]>
15 DESC="OpenStack Cyborg API"
16 PROJECT_NAME=cyborg
17 NAME=${PROJECT_NAME}-api
18 UWSGI_PORT=8889
19 UWSGI_INI_PATH=/etc/cyborg/cyborg-api-uwsgi.ini
20 UWSGI_INI_APP=/usr/lib/python3/dist-packages/cyborg/wsgi/api.py
21 export OS_OSLO_MESSAGING_RABBIT__PROCESSNAME=cyborg-api