1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /root/magellan-cvs/src/apache2/apache2.rc,v 1.1 2007-06-30 02:24:36 niro Exp $ |
# $Header: /root/magellan-cvs/src/apache2/apache2.rc,v 1.3 2007-07-31 19:18:35 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 |
6 |
#%stop: 80 |
#%stop: 30 |
7 |
|
|
8 |
#deps |
#deps |
9 |
#%needs: |
#%needs: |
19 |
[ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache |
[ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache |
20 |
|
|
21 |
start-stop-daemon --start --exec /usr/sbin/apache2 -- \ |
start-stop-daemon --start --exec /usr/sbin/apache2 -- \ |
22 |
-d /usr -f /etc/apache2/httpd.conf -k start |
-d @@ServerRoot@@ -f /etc/apache2/httpd.conf -k start |
23 |
evaluate_retval |
evaluate_retval |
24 |
|
|
25 |
update_svcstatus $1 |
update_svcstatus $1 |