Skip to content

Commit

Permalink
Update apache2.sh for unclean container state
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlan-00 authored Nov 21, 2024
1 parent 5be1549 commit f3cc489
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/bin/apache2.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/bin/sh

if [ -f /var/run/apache2/apache2.pid ]; then
rm -f /var/run/apache2/apache2.pid
fi

exec apachectl -DFOREGROUND

0 comments on commit f3cc489

Please sign in to comment.