Magellan Linux

Diff of /trunk/proftpd/proftpd.rc

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

revision 991 by niro, Wed Mar 3 19:08:46 2010 UTC revision 994 by niro, Wed Mar 3 21:10:35 2010 UTC
# Line 9  Line 9 
9  #%before:  #%before:
10  #%after:  #%after:
11    
12  source /etc/sysconfig/rc  source /etc/conf.d/rc
13  source $rc_functions  source $rc_functions
14    
15  # read options  # read options
# Line 19  case "$1" in Line 19  case "$1" in
19   start)   start)
20   echo -e ${COLOREDSTAR}"Starting proftpd daemon ..."   echo -e ${COLOREDSTAR}"Starting proftpd daemon ..."
21   start-stop-daemon --start --quiet --exec /usr/sbin/proftpd \   start-stop-daemon --start --quiet --exec /usr/sbin/proftpd \
22   --make-pidfile --pidfile /var/run/proftpd.pid -- ${PROFTPD_OPTIONS}   --pidfile /var/run/proftpd/proftpd.pid -- ${PROFTPD_OPTIONS}
23   evaluate_retval   evaluate_retval
24    
25   update_svcstatus $1   update_svcstatus $1
# Line 28  case "$1" in Line 28  case "$1" in
28    
29   stop)   stop)
30   echo -e ${COLOREDSTAR}"Stopping proftpd daemon ..."   echo -e ${COLOREDSTAR}"Stopping proftpd daemon ..."
31   start-stop-daemon --stop --quiet --retry 20 --pidfile /var/run/proftpd.pid   start-stop-daemon --stop --quiet --retry 20 --pidfile /var/run/proftpd/proftpd.pid
32   evaluate_retval   evaluate_retval
33    
34   update_svcstatus $1   update_svcstatus $1

Legend:
Removed from v.991  
changed lines
  Added in v.994