Magellan Linux

Diff of /trunk/citrix-plugin-speechmike/dpmmountd.rc.in

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

revision 2127 by niro, Tue May 28 13:24:09 2013 UTC revision 2128 by niro, Wed May 29 07:21:23 2013 UTC
# Line 16  source $rc_functions Line 16  source $rc_functions
16  case "$1" in  case "$1" in
17   start)   start)
18   rc_print "Starting DPMMount Daemon ..."   rc_print "Starting DPMMount Daemon ..."
19   start-stop-daemon --start --quiet \  
20   --make-pidfile --pidfile /var/run/DPMMount.pid \   # ensure that the link dir exist
21   @@SBINDIR@@/DPMMountd -- -m 2 -l @@DPMTEMPDIR@@   [[ ! -e @@DPMTEMPDIR@@ ]] && mkdir -p @@DPMTEMPDIR@@
22    
23     start-stop-daemon --start --quiet --background \
24     --make-pidfile --pidfile /var/run/dpmmountd.pid \
25     --exec @@SBINDIR@@/DPMMountd -- -m 2 -l @@DPMTEMPDIR@@
26   evaluate_retval   evaluate_retval
27    
28   update_svcstatus $1   update_svcstatus $1
# Line 27  case "$1" in Line 31  case "$1" in
31    
32   stop)   stop)
33   rc_print "Stopping DPMMount Daemon ..."   rc_print "Stopping DPMMount Daemon ..."
34   start-stop-daemon --stop --quiet --pidfile /var/run/DPMMountd.pid   start-stop-daemon --stop --quiet --pidfile /var/run/dpmmountd.pid
35   evaluate_retval   evaluate_retval
36    
37   update_svcstatus $1   update_svcstatus $1
38   splash svc_stopped "$(basename $0)" 0   splash svc_stopped "$(basename $0)" 0
39   ;;   ;;
40    
  reload)  
  rc_print "Reloading SSH Server ..."  
  reloadproc @@SBINDIR@@/DPMMountd  
  ;;  
   
41   restart)   restart)
42   $0 stop   $0 stop
43   sleep 1   sleep 1
# Line 50  case "$1" in Line 49  case "$1" in
49   ;;   ;;
50    
51   *)   *)
52   rc_echo "Usage: $0 {start|stop|reload|restart|status}"   rc_echo "Usage: $0 {start|stop|restart|status}"
53   exit 1   exit 1
54   ;;   ;;
55  esac  esac

Legend:
Removed from v.2127  
changed lines
  Added in v.2128