#!/bin/sh
### BEGIN INIT INFO
# Provides:          designate-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: Designate API
# Description:       Frontend Designate API server
### END INIT INFO

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

DESC="OpenStack Designate DNSaaS API (designate-api)"
PROJECT_NAME=designate
NAME=${PROJECT_NAME}-api
UWSGI_PORT=9001
UWSGI_INI_PATH=/etc/designate/designate-api-uwsgi.ini
UWSGI_INI_APP=/usr/bin/designate-api-wsgi
export OS_OSLO_MESSAGING_RABBIT_PROCESSNAME=designate-api

