summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-horizon
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-horizon')
-rw-r--r--meta-openstack/recipes-devtools/python/python-horizon/horizon.init3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-horizon/horizon.init b/meta-openstack/recipes-devtools/python/python-horizon/horizon.init
index d5dbadd..65b96e4 100644
--- a/meta-openstack/recipes-devtools/python/python-horizon/horizon.init
+++ b/meta-openstack/recipes-devtools/python/python-horizon/horizon.init
@@ -43,8 +43,9 @@ start()
43 43
44stop() 44stop()
45{ 45{
46 if [ ! -e $PIDFILE ]; then return; fi
46 echo -n "Stopping $DESC..." 47 echo -n "Stopping $DESC..."
47 start-stop-daemon --stop --quiet --pidfile $PIDFILE 48 pkill -TERM -P `cat $PIDFILE`
48 if [ $? -eq 0 ]; then 49 if [ $? -eq 0 ]; then
49 echo "done." 50 echo "done."
50 else 51 else