projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tell d-i where to install to
[invirt/packages/invirt-web.git]
/
files
/
etc
/
init.d
/
apache2.invirt
diff --git
a/files/etc/init.d/apache2.invirt
b/files/etc/init.d/apache2.invirt
index
9b81115
..
3a4d69b
100755
(executable)
--- a/
files/etc/init.d/apache2.invirt
+++ b/
files/etc/init.d/apache2.invirt
@@
-32,6
+32,11
@@
kstart_start () {
kstart_stop () {
if [ -e $KSTART_PIDFILE ]; then
/sbin/start-stop-daemon --stop --pidfile $KSTART_PIDFILE
kstart_stop () {
if [ -e $KSTART_PIDFILE ]; then
/sbin/start-stop-daemon --stop --pidfile $KSTART_PIDFILE
+ pgrep apache2 >/dev/null && sleep 1 \
+ && pgrep apache2 >/dev/null && sleep 1 \
+ && pgrep apache2 >/dev/null && sleep 1 \
+ && pgrep apache2 >/dev/null && sleep 1 \
+ && pkill -9 apache2
rm -f $KSTART_PIDFILE
else
echo -n " ... no kstart pidfile"
rm -f $KSTART_PIDFILE
else
echo -n " ... no kstart pidfile"