summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-keystone/keystone
diff options
context:
space:
mode:
authorAmy Fong <amy.fong@windriver.com>2014-03-28 13:56:02 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-03-28 14:39:30 -0400
commit984c2d69f51824a4c1e7b3a448fe24759e594026 (patch)
tree43217944da7ae820af7e9ccfcd775cc72597d679 /meta-openstack/recipes-devtools/python/python-keystone/keystone
parentd6e8ddfcca4c0c61643bca5e33113b414077306a (diff)
downloadmeta-cloud-services-984c2d69f51824a4c1e7b3a448fe24759e594026.tar.gz
OpenStack: sysvinit scripts - enable logging
Explicitly enable --log-dir to enable logging where available Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone/keystone')
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystone/keystone6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone b/meta-openstack/recipes-devtools/python/python-keystone/keystone
index 463b05f..d73bc75 100644
--- a/meta-openstack/recipes-devtools/python/python-keystone/keystone
+++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone
@@ -27,10 +27,14 @@ start ()
27 fi 27 fi
28 fi 28 fi
29 29
30 if [ ! -d /var/log/keystone ]; then
31 mkdir /var/log/keystone
32 fi
30 echo -n "Starting $DESC..." 33 echo -n "Starting $DESC..."
31 34
32 start-stop-daemon --start --quiet --background \ 35 start-stop-daemon --start --quiet --background \
33 --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} 36 --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \
37 -- --log-dir=/var/log/keystone
34 38
35 if [ $? -eq 0 ]; then 39 if [ $? -eq 0 ]; then
36 echo "done." 40 echo "done."