21b20ccf14
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: I784e6b9908222995c56c9f3c06cc54f0254d4761
20 lines
554 B
Bash
20 lines
554 B
Bash
#!/bin/sh
|
|
### BEGIN INIT INFO
|
|
# Provides: neutron-ovs-cleanup
|
|
# Required-Start: $network $local_fs $remote_fs $syslog openvswitch-switch
|
|
# Required-Stop: $remote_fs
|
|
# Should-Start:
|
|
# Should-Stop:
|
|
# Default-Start: 2 3 4 5
|
|
# Default-Stop: 0 1 6
|
|
# Short-Description: Neutron OVS Cleanup
|
|
# Description: OpenvSwitch Cleanup for OpenStack Neutron
|
|
### END INIT INFO
|
|
|
|
# Authors: James Page <james.page@ubuntu.com>
|
|
|
|
DESC="OpenStack Neutron OVS cleanup"
|
|
PROJECT_NAME=neutron
|
|
NAME=${PROJECT_NAME}-ovs-cleanup
|
|
DAEMON={{ daemon_path }}
|