
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: I776c2e2af095cdff41e8aaffa3b0da6d1226fe0a
20 lines
555 B
Bash
20 lines
555 B
Bash
#!/bin/sh
|
|
### BEGIN INIT INFO
|
|
# Provides: nova-network
|
|
# Required-Start: $network $local_fs $remote_fs $syslog
|
|
# Required-Stop: $remote_fs
|
|
# Should-Start: postgresql mysql keystone
|
|
# Should-Stop: postgresql mysql keystone
|
|
# Default-Start: 2 3 4 5
|
|
# Default-Stop: 0 1 6
|
|
# Short-Description: Nova Network
|
|
# Description: Provides network resources
|
|
### END INIT INFO
|
|
|
|
# Author: Thomas Goirand <zigo@debian.org>
|
|
|
|
DESC="OpenStack Compute Network"
|
|
PROJECT_NAME=nova
|
|
NAME=${PROJECT_NAME}-network
|
|
DAEMON={{ daemon_path }}
|