File: ironic-api.init.in

package info (click to toggle)
ironic 1%3A32.0.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,992 kB
  • sloc: python: 184,221; sh: 3,917; pascal: 766; xml: 387; makefile: 86
file content (22 lines) | stat: -rw-r--r-- 780 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:          ironic-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: Baremetal API server
# Description:       Frontend Baremetal (Ironic) API server
### END INIT INFO

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

DESC="OpenStack Ironic Service API (ironic-api)"
PROJECT_NAME=ironic
NAME=${PROJECT_NAME}-api
CONFIG_FILE=/etc/${PROJECT_NAME}/ironic.conf
UWSGI_PORT=6385
UWSGI_INI_PATH=/etc/ironic/ironic-api-uwsgi.ini
UWSGI_INI_APP=/usr/lib/python3/dist-packages/ironic/wsgi/__init__.py