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:
parent
7653fb597d
commit
8697fc3907
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
function start_apache {
|
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"
|
echo "Launching apache2 in foreground with /usr/sbin/apache2ctl -DFOREGROUND -k start"
|
||||||
/usr/sbin/apache2ctl -DFOREGROUND -k start
|
/usr/sbin/apache2ctl -DFOREGROUND -k start
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user