File: glance-api.init.in

package info (click to toggle)
glance 2%3A17.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,068 kB
  • sloc: python: 61,892; sql: 430; sh: 172; makefile: 115
file content (21 lines) | stat: -rw-r--r-- 725 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
#!/bin/sh
### BEGIN INIT INFO
# Provides:          glance-api
# Required-Start:    $network $local_fs $remote_fs $syslog
# Required-Stop:     $remote_fs
# Should-Start:      postgresql mysql keystone ntp rabbitmq-server
# Should-Stop:       postgresql mysql keystone ntp rabbitmq-server
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Glance API server
# Description:       Frontend Glance API server
### END INIT INFO

# Author: Thomas Goirand <zigo@debian.org>
DESC="OpenStack Glance Service API"
PROJECT_NAME=glance
NAME=${PROJECT_NAME}-api
CONFIG_FILE=/etc/${PROJECT_NAME}/glance-api.conf
UWSGI_PORT=9292
UWSGI_INI_PATH=/etc/glance/glance-api-uwsgi.ini
UWSGI_INI_APP=/usr/bin/glance-wsgi-api