From f07fca64f8f18088f126e028e4d8fb1cf4a18947 Mon Sep 17 00:00:00 2001 From: Dmitry Teselkin Date: Wed, 12 Feb 2014 17:25:14 +0400 Subject: [PATCH] Remove 'openstack-' prefix in service name Change-Id: I74361bd4fb5b508b34526593f4274560fb61f0c4 Related-Bug: 1279244 --- etc/init.d/murano-api-debian | 3 ++- etc/init.d/murano-api-redhat | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/etc/init.d/murano-api-debian b/etc/init.d/murano-api-debian index 4b5164d8..2c5357d6 100644 --- a/etc/init.d/murano-api-debian +++ b/etc/init.d/murano-api-debian @@ -30,7 +30,7 @@ DESC="murano-api" NAME=murano-api DAEMON=$(which murano-api) PIDFILE=/var/run/murano/$NAME.pid -SCRIPTNAME=/etc/init.d/openstack-$NAME +SCRIPTNAME=/etc/init.d/$NAME SYSTEM_USER=murano CONFIG_FILE=/etc/murano/murano-api.conf # Exit if the package is not installed @@ -102,3 +102,4 @@ case "$1" in exit 3 ;; esac + diff --git a/etc/init.d/murano-api-redhat b/etc/init.d/murano-api-redhat index 04adcaae..09e672f5 100644 --- a/etc/init.d/murano-api-redhat +++ b/etc/init.d/murano-api-redhat @@ -32,7 +32,7 @@ DESC="murano-api" NAME=murano-api DAEMON=$(which murano-api) PIDFILE=/var/run/murano/$NAME.pid -SCRIPTNAME=/etc/init.d/openstack-$NAME +SCRIPTNAME=/etc/init.d/$NAME SYSTEM_USER=murano CONFIG_FILE=/etc/murano/murano-api.conf LOCKFILE=/var/lock/subsys/$NAME @@ -99,4 +99,5 @@ case "$1" in echo $"Usage: $0 {start|stop|status|restart}" exit 2 esac -exit $? \ No newline at end of file +exit $? +