charm-nova-cloud-controller/templates/git/nova-spiceproxy.init.in.template
Corey Bryant 01148cc7a9 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
2016-07-07 11:05:45 +01:00

22 lines
668 B
Bash

#!/bin/sh
### BEGIN INIT INFO
# Provides: nova-spiceproxy
# Required-Start: $network $local_fs $remote_fs $syslog
# Required-Stop: $remote_fs
# Should-Start: nova-consoleauth
# Should-Stop: nova-consoleauth
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Nova Spice HTML5 Proxy
# Description: Nova Spice HTML5 Proxy
### END INIT INFO
# Author: Thomas Goirand <zigo@debian.org>
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="OpenStack Compute Spice HTML5 Proxy"
PROJECT_NAME=nova
NAME=${PROJECT_NAME}-spiceproxy
DAEMON={{ daemon_path }}