File: octavia-api.init.in

package info (click to toggle)
octavia 17.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,252 kB
  • sloc: python: 99,849; sh: 2,458; pascal: 450; makefile: 116; ruby: 18
file content (22 lines) | stat: -rw-r--r-- 807 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:          octavia-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: Octavia API daemon
# Description:       The Octavia project provides services for storing
#                    ...
#                    This is the API daemon.
### END INIT INFO

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