File: cloudkitty-api.init.in

package info (click to toggle)
cloudkitty 24.0.0~rc1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,532 kB
  • sloc: python: 22,839; sh: 562; makefile: 82; pascal: 54
file content (21 lines) | stat: -rw-r--r-- 718 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:          cloudkitty-api
# Required-Start:    $network $local_fs $remote_fs $syslog
# Required-Stop:     $remote_fs
# Should-Start:      mongodb rabbitmq-server
# Should-Stop:       mongodb rabbitmq-server
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: cloudkitty api
# Description:       cloudkitty api
### END INIT INFO

# Author: Thomas Goirand <zigo@debian.org>
DESC="OpenStack Cloudkitty API"
PROJECT_NAME=cloudkitty
NAME=${PROJECT_NAME}-api
UWSGI_PORT=8889
UWSGI_INI_PATH=/etc/cloudkitty/cloudkitty-api-uwsgi.ini
UWSGI_INI_APP=/usr/lib/python3/dist-packages/cloudkitty/wsgi/api.py
export OS_OSLO_MESSAGING_RABBIT__PROCESSNAME=cloudkitty-api