diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone/keystone | 6 |
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." |
