File: mistral-api.init.in

package info (click to toggle)
mistral 15.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 16,056 kB
  • sloc: python: 54,070; sh: 724; makefile: 53
file content (22 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (2)
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:          mistral-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: Mistral API
# Description:       Mistral API
### END INIT INFO

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

DESC="OpenStack Mistral API Server (mistral-wsgi-api)"
PROJECT_NAME=mistral
NAME=${PROJECT_NAME}-api
CONFIG_FILE=/etc/${PROJECT_NAME}/mistral.conf
UWSGI_PORT=8989
UWSGI_INI_PATH=/etc/mistral/mistral-api-uwsgi.ini
UWSGI_INI_APP=/usr/bin/mistral-wsgi-api