Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit f45a488

Browse files
committed
Fix restart
1 parent ce9bb53 commit f45a488

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

assets/init.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ service syslog start
1717
service postfix start
1818
service crond start
1919

20-
apachectl -D FOREGROUND
20+
#remove pid if it exists to fix restart
21+
rm -f /var/run/httpd.pid
22+
apachectl -D FOREGROUND

0 commit comments

Comments
 (0)