Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2124 - (hide annotations) (download)
Tue May 28 13:24:09 2013 UTC (11 years, 5 months ago) by niro
File size: 922 byte(s)
-added sysvinit rc script
1 niro 2124 #!/bin/bash
2     # $Id$
3    
4     #%rlevels: 3:s 4:s 5:s 0:k 1:k 2:k 6:k
5     #%start: 30
6     #%stop: 30
7    
8     #deps
9     #%needs:
10     #%before:
11     #%after:
12    
13     source /etc/conf.d/rc
14     source $rc_functions
15    
16     case "$1" in
17     start)
18     rc_print "Starting DPMMount Daemon ..."
19     start-stop-daemon --start --quiet \
20     --make-pidfile --pidfile /var/run/DPMMount.pid \
21     @@SBINDIR@@/DPMMountd -- -m 2 -l @@DPMTEMPDIR@@
22     evaluate_retval
23    
24     update_svcstatus $1
25     splash svc_started "$(basename $0)" 0
26     ;;
27    
28     stop)
29     rc_print "Stopping DPMMount Daemon ..."
30     start-stop-daemon --stop --quiet --pidfile /var/run/DPMMountd.pid
31     evaluate_retval
32    
33     update_svcstatus $1
34     splash svc_stopped "$(basename $0)" 0
35     ;;
36    
37     reload)
38     rc_print "Reloading SSH Server ..."
39     reloadproc @@SBINDIR@@/DPMMountd
40     ;;
41    
42     restart)
43     $0 stop
44     sleep 1
45     $0 start
46     ;;
47    
48     status)
49     statusproc @@SBINDIR@@/DPMMountd
50     ;;
51    
52     *)
53     rc_echo "Usage: $0 {start|stop|reload|restart|status}"
54     exit 1
55     ;;
56     esac

Properties

Name Value
svn:executable *