summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-keystone
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2017-11-13 14:32:21 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-11-14 12:38:27 -0500
commit9ba4c53af7427d1e58e613a7a0641c864714c14d (patch)
treeb030cdc7e13d8922a97c6c0ebdb3eddf02e7ad6d /meta-openstack/recipes-devtools/python/python-keystone
parentd3545ebb91d0b6546f644680763bb86d4095f251 (diff)
downloadmeta-cloud-services-9ba4c53af7427d1e58e613a7a0641c864714c14d.tar.gz
python-keystone: launch service via uwsgi
The keystone-all has been removed upstream and all indication seem to show that using uwsgi is the new approach to launching this service. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone')
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystone/keystone5
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
13DESC="keystone" 13DESC="keystone"
14DAEMON="/usr/bin/keystone-all" 14DAEMON="uwsgi"
15DAEMON_OPTIONS="--http 127.0.0.1:35357 --wsgi-file $(which keystone-wsgi-admin)"
15PIDFILE="/var/run/keystone-all.pid" 16PIDFILE="/var/run/keystone-all.pid"
16 17
17start () 18start ()
@@ -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."