]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/init.d/apache
2 # Begin $rc_base/init.d/apache
4 # Based on sysklogd script from LFS-3.1 and earlier.
5 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
7 #$LastChangedBy: bdubbs $
8 #$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
15 boot_mesg
"Starting Apache daemon..."
16 /usr
/sbin
/apachectl
-k start
21 boot_mesg
"Stopping Apache daemon..."
22 /usr
/sbin
/apachectl
-k stop
27 boot_mesg
"Restarting Apache daemon..."
28 /usr
/sbin
/apachectl
-k restart
33 statusproc
/usr
/sbin
/httpd
37 echo "Usage: $0 {start|stop|restart|status}"
42 # End $rc_base/init.d/apache