~openstack-charmers-next/charms/trusty/cinder/trunk

« back to all changes in this revision

Viewing changes to templates/git/cinder-api.init.in.template

  • Committer: Gerrit Code Review
  • Author(s): Jenkins
  • Date: 2016-05-26 10:21:47 UTC
  • mfrom: (166.1.1 trunk)
  • Revision ID: review@openstack.org-20160526102147-r8vpyj0ij0cr73u3
Merge "Add systemd init support for deploy from source"

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
### BEGIN INIT INFO
 
3
# Provides:          cinder-api
 
4
# Required-Start:    $network $local_fs $remote_fs $syslog
 
5
# Required-Stop:     $remote_fs
 
6
# Should-Start:      postgresql mysql keystone rabbitmq-server ntp
 
7
# Should-Stop:       postgresql mysql keystone rabbitmq-server ntp
 
8
# Default-Start:     2 3 4 5
 
9
# Default-Stop:      0 1 6
 
10
# Short-Description: Cinder Api
 
11
# Description:       Provides EBS like storage for your
 
12
#                    virtual machine instances
 
13
### END INIT INFO
 
14
 
 
15
# Author: Julien Danjou <acid@debian.org>, Thomas Goirand <zigo@debian.org>
 
16
 
 
17
# PATH should only include /usr/* if it runs after the mountnfs.sh script
 
18
PATH=/sbin:/usr/sbin:/bin:/usr/bin
 
19
DESC="OpenStack Cinder Api"
 
20
PROJECT_NAME=cinder
 
21
NAME=${PROJECT_NAME}-api
 
22
DAEMON={{ daemon_path }}