sys-cluster/nova: updating nova init again
authorMatthew Thode <prometheanfire@gentoo.org>
Mon, 18 Sep 2017 04:54:41 +0000 (23:54 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Mon, 18 Sep 2017 04:55:11 +0000 (23:55 -0500)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

sys-cluster/nova/files/nova.initd-2

index 8f53ec2e9527900099cab456834b8f521b8d73a1..cb82c947ddfe338eb9f077a20b5de23918f35ec3 100644 (file)
@@ -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}
 }