~openstack-charmers/charms/trusty/nova-cloud-controller/next

« back to all changes in this revision

Viewing changes to templates/git/nova-xvpvncproxy.init.in.template

  • Committer: James Page
  • Author(s): Corey Bryant
  • Date: 2016-07-07 10:05:45 UTC
  • Revision ID: james.page@ubuntu.com-20160707100545-bmgc5sevz340x60u
Add systemd init support for deploy from source

systemd is used instead of upstart by default since Ubuntu 15.10
(Wily).  This adds systemd init file support for nova services
that are deployed from source.

Change-Id: Ie71aed8c1f28204d5fbd735d51cea6d77977a637

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
### BEGIN INIT INFO
 
3
# Provides:          nova-xvpvncproxy nova-xenvncproxy
 
4
# Required-Start:    $network $local_fs $remote_fs $syslog
 
5
# Required-Stop:     $remote_fs
 
6
# Default-Start:     2 3 4 5
 
7
# Default-Stop:      0 1 6
 
8
# Short-Description: Nova XVP VNC proxy
 
9
# Description:       Nova XVP VNC proxy
 
10
### END INIT INFO
 
11
 
 
12
# Authors: Thomas Goirand <zigo@debian.org>
 
13
 
 
14
DESC="OpenStack XVP VNC proxy"
 
15
PROJECT_NAME=nova
 
16
NAME=${PROJECT_NAME}-xvpvncproxy
 
17
DAEMON={{ daemon_path }}