File: cyborg-api.init.in

package info (click to toggle)
cyborg 15.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,612 kB
  • sloc: python: 17,958; sh: 346; makefile: 67; pascal: 66
file content (20 lines) | stat: -rw-r--r-- 626 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
### BEGIN INIT INFO
# Provides:          cyborg-api
# Required-Start:    $network $local_fs $remote_fs $syslog
# Required-Stop:     $remote_fs
# Should-Start:      mongodb rabbitmq-server
# Should-Stop:       mongodb rabbitmq-server
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: cyborg api
# Description:       cyborg api
### END INIT INFO

# Author: Thomas Goirand <zigo@debian.org>
DESC="OpenStack Cyborg API"
PROJECT_NAME=cyborg
NAME=${PROJECT_NAME}-api
UWSGI_PORT=8889
UWSGI_INI_PATH=/etc/cyborg/cyborg-api-uwsgi.ini
UWSGI_INI_APP=/usr/lib/python3/dist-packages/cyborg/wsgi/api.py