File: freezer-api.init.in

package info (click to toggle)
freezer-api 9.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,884 kB
  • sloc: python: 15,677; sh: 388; makefile: 56
file content (21 lines) | stat: -rw-r--r-- 754 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
#!/bin/sh
### BEGIN INIT INFO
# Provides:          freezer-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: Freezer API server
# Description:       Frontend Freezer API server
### END INIT INFO

# Author: Michal Arbet <michal.arbet@ultimum.io>
DESC="OpenStack Freezer Service API (freezer-api)"
PROJECT_NAME=freezer
NAME=${PROJECT_NAME}-api
CONFIG_FILE=/etc/${PROJECT_NAME}/freezer-api.conf
UWSGI_PORT=9090
UWSGI_INI_PATH=/etc/freezer/freezer-api-uwsgi.ini
UWSGI_INI_APP=/usr/bin/freezer-api-wsgi