fix for glance api log
Change-Id: If4b60a164f5601e54878e3201589a04407b46620 Closes-Bug: #1587185
This commit is contained in:
parent
7634ad9d3a
commit
3c5ce1c69d
|
@ -10,6 +10,9 @@ salt-call --local --retcode-passthrough state.highstate
|
|||
service {{ service }} stop || true
|
||||
{% endfor %}
|
||||
|
||||
#Fix ownership for api.log file
|
||||
chown -R glance:glance /var/log/glance/
|
||||
|
||||
if [ "$1" == "api" ]; then
|
||||
echo "starting glance-api"
|
||||
su glance --shell=/bin/sh -c '/usr/bin/glance-api --config-file=/etc/glance/glance-api.conf'
|
||||
|
|
Loading…
Reference in New Issue