File: vmms-api.init.in

package info (click to toggle)
vmms 0.0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 280 kB
  • sloc: python: 1,494; sh: 82; makefile: 45
file content (22 lines) | stat: -rw-r--r-- 727 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
### BEGIN INIT INFO
# Provides:          vmms-api
# Required-Start:    $network $local_fs $remote_fs $syslog
# Required-Stop:     $remote_fs
# Should-Start:      postgresql mysql keystone rabbitmq-server ntp
# Should-Stop:       postgresql mysql keystone rabbitmq-server ntp
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: VMMS API
# Description:       VMMS API
### END INIT INFO

# Author: Thomas Goirand <zigo@debian.org>

DESC="OpenStack VMMS API Server (vmms-api)"
PROJECT_NAME=vmms
NAME=${PROJECT_NAME}-api
CONFIG_FILE=/etc/${PROJECT_NAME}/${PROJECT_NAME}.conf
UWSGI_PORT=9898
UWSGI_INI_PATH=/etc/vmms/vmms-api-uwsgi.ini
UWSGI_INI_APP=/usr/lib/python3/dist-packages/vmms/wsgi/api.py