mirror of
https://github.com/optim-enterprises-bv/openstack-helm.git
synced 2025-12-26 17:57:34 +00:00
Keystone: remove stale pids on startup if present
This PS removes stale pids on startup if present. Change-Id: Iff136f16f8d15a08e8ce8c51d058b55288f97a2e Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user