01148cc7a9
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
20 lines
568 B
Bash
20 lines
568 B
Bash
#!/bin/sh
|
|
### BEGIN INIT INFO
|
|
# Provides: nova-scheduler
|
|
# 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 Scheduler
|
|
# Description: Schedules instances, volumes, etc. for Nova
|
|
### END INIT INFO
|
|
|
|
# Author: Julien Danjou <acid@debian.org>
|
|
|
|
DESC="OpenStack Compute Scheduler"
|
|
PROJECT_NAME=nova
|
|
NAME=nova-scheduler
|
|
DAEMON={{ daemon_path }}
|