Fix dmtf container

- Remove apache pid file. So it allows to restart the mockup after a
  brutal shutdown of the container.
This commit is contained in:
Uggla 2016-01-18 10:58:26 +01:00
parent 7653fb597d
commit 8697fc3907

View File

@ -1,6 +1,7 @@
#!/bin/bash
function start_apache {
[ -f "/run/apache2/apache2.pid" ] && rm "/run/apache2/apache2.pid"
echo "Launching apache2 in foreground with /usr/sbin/apache2ctl -DFOREGROUND -k start"
/usr/sbin/apache2ctl -DFOREGROUND -k start
}