Check if /var/log/keystone exists in cron job
* Check if /var/log/keystone exists in cron job (Closes: #847692). Change-Id: Ibb71e31b6f0b1c66c80aa25a8eedb5343892fb95
This commit is contained in:
parent
3c2b407fb3
commit
bea22cb7d5
|
@ -1,3 +1,9 @@
|
|||
keystone (2:10.0.0-5) unstable; urgency=medium
|
||||
|
||||
* Check if /var/log/keystone exists in cron job (Closes: #847692).
|
||||
|
||||
-- Thomas Goirand <zigo@debian.org> Sun, 18 Dec 2016 11:52:15 +0100
|
||||
|
||||
keystone (2:10.0.0-4) unstable; urgency=medium
|
||||
|
||||
* Fix passlib call of encrypt() which is replaced by hash() upstream
|
||||
|
|
|
@ -10,7 +10,7 @@ if [ -x /usr/bin/keystone-manage ] ; then
|
|||
else
|
||||
PROVIDER=uuid
|
||||
fi
|
||||
if [ "${PROVIDER}" = "uuid" ] ; then
|
||||
if [ "${PROVIDER}" = "uuid" ] && [ -d /var/log/keystone ] ; then
|
||||
su -c '/usr/bin/keystone-manage token_flush >/var/log/keystone/keystone-tokenflush.log 2>&1' keystone
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue