Merge "Keystone: remove stale pids on startup if present"

This commit is contained in:
Zuul 2019-01-30 00:38:06 +00:00 committed by Gerrit Code Review
commit 817eda621f

View File

@ -31,6 +31,11 @@ function start () {
source /etc/apache2/envvars
fi
if [ -f /var/run/apache2/apache2.pid ]; then
# Remove the stale pid for debian/ubuntu images
rm -f /var/run/apache2/apache2.pid
fi
# Start Apache2
exec apache2 -DFOREGROUND
}