1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /root/magellan-cvs/src/apache2/apache2.rc,v 1.3 2007-07-31 19:18:35 niro Exp $ |
# $Header: /root/magellan-cvs/src/apache2/apache2.rc,v 1.4 2007-09-07 17:32:34 niro Exp $ |
3 |
|
|
4 |
#%rlevels: 3:s 4:s 5:s 0:k 1:k 2:k 6:k |
#%rlevels: 3:s 4:s 5:s 0:k 1:k 2:k 6:k |
5 |
#%start: 60 |
#%start: 60 |
28 |
|
|
29 |
stop) |
stop) |
30 |
echo -e ${COLOREDSTAR}"Stopping apache2 http daemon ..." |
echo -e ${COLOREDSTAR}"Stopping apache2 http daemon ..." |
31 |
start-stop-daemon --stop --retry -TERM/5/-KILL/5 \ |
start-stop-daemon --stop --exec /usr/sbin/apache2 \ |
32 |
--exec /usr/sbin/apache2 --pidfile /var/run/apache2.pid |
--pidfile /var/run/apache2.pid |
33 |
evaluate_retval |
evaluate_retval |
34 |
|
|
35 |
update_svcstatus $1 |
update_svcstatus $1 |