summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-09-17 23:54:41 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2017-09-17 23:55:11 -0500
commite744634aaff291e3ed175678f235a6cbe97459b5 (patch)
treeda6780a3b15405f179858020e9a231d363891dfc /sys-cluster/nova
parentsys-cluster/neutron: updating init (diff)
downloadgentoo-e744634aaff291e3ed175678f235a6cbe97459b5.tar.gz
gentoo-e744634aaff291e3ed175678f235a6cbe97459b5.tar.bz2
gentoo-e744634aaff291e3ed175678f235a6cbe97459b5.zip
sys-cluster/nova: updating nova init again
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sys-cluster/nova')
-rw-r--r--sys-cluster/nova/files/nova.initd-23
1 files changed, 1 insertions, 2 deletions
diff --git a/sys-cluster/nova/files/nova.initd-2 b/sys-cluster/nova/files/nova.initd-2
index 8f53ec2e9527..cb82c947ddfe 100644
--- a/sys-cluster/nova/files/nova.initd-2
+++ b/sys-cluster/nova/files/nova.initd-2
@@ -6,7 +6,7 @@ description="Starts ${SVCNAME} service for OpenStack"
command="/usr/bin/${SVCNAME}"
command_args="--config-file /etc/nova/nova.conf"
-pidfile=/run/nova/${SVCNAME}.pid
+pidfile=/run/${SVCNAME}.pid
command_background=true
required_files=/etc/nova/nova.conf
if [ "$SVCNAME" == nova-compute ]; then
@@ -21,6 +21,5 @@ depend() {
}
start_pre() {
- checkpath --directory --owner ${NOVA_USER:-nova}:${NOVA_GROUP:-nova} --mode 0775 ${NOVA_RUN:-/run/nova}
checkpath --directory --owner ${NOVA_USER:-nova}:${NOVA_GROUP:-nova} --mode 0775 ${NOVA_RUN:-/var/lock/nova}
}