Magellan Linux

Diff of /trunk/apache2/apache2.rc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 284 by niro, Tue Jul 31 19:18:35 2007 UTC revision 863 by niro, Fri Jul 3 13:49:52 2009 UTC
# Line 1  Line 1 
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.5 2009-07-03 13:49:52 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
# Line 10  Line 10 
10  #%before:  #%before:
11  #%after:  #%after:
12    
13  source /etc/sysconfig/rc  source /etc/conf.d/rc
14  source $rc_functions  source $rc_functions
15    
16  case "$1" in  case "$1" in
# Line 28  case "$1" in Line 28  case "$1" in
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

Legend:
Removed from v.284  
changed lines
  Added in v.863