diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone/keystone')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone/keystone | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone b/meta-openstack/recipes-devtools/python/python-keystone/keystone index 0d8a538..34cc3ad 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone/keystone +++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone | |||
@@ -11,7 +11,8 @@ | |||
11 | ### END INIT INFO | 11 | ### END INIT INFO |
12 | 12 | ||
13 | DESC="keystone" | 13 | DESC="keystone" |
14 | DAEMON="/usr/bin/keystone-all" | 14 | DAEMON="uwsgi" |
15 | DAEMON_OPTIONS="--http 127.0.0.1:35357 --wsgi-file $(which keystone-wsgi-admin)" | ||
15 | PIDFILE="/var/run/keystone-all.pid" | 16 | PIDFILE="/var/run/keystone-all.pid" |
16 | 17 | ||
17 | start () | 18 | start () |
@@ -34,7 +35,7 @@ start () | |||
34 | 35 | ||
35 | start-stop-daemon --start --quiet --background \ | 36 | start-stop-daemon --start --quiet --background \ |
36 | --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \ | 37 | --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \ |
37 | -- --log-dir=/var/log/keystone | 38 | -- ${DAEMON_OPTIONS} |
38 | 39 | ||
39 | if [ $? -eq 0 ]; then | 40 | if [ $? -eq 0 ]; then |
40 | echo "done." | 41 | echo "done." |