Diff of /trunk/magellan-initscripts/rc/template
Parent Directory | Revision Log | Patch
revision 931 by niro, Thu Nov 5 12:57:14 2009 UTC | revision 1252 by niro, Fri Mar 11 17:19:32 2011 UTC | |
---|---|---|
# | Line 15 source ${rc_functions} | Line 15 source ${rc_functions} |
15 | ||
16 | case "$1" in | case "$1" in |
17 | start) | start) |
18 | echo -e ${COLOREDSTAR}"Starting ..." | rc_print "Starting ..." |
19 | loadproc | loadproc |
20 | ;; | ;; |
21 | ||
22 | stop) | stop) |
23 | echo -e ${COLOREDSTAR}"Stopping ..." | rc_print "Stopping ..." |
24 | killproc | killproc |
25 | ;; | ;; |
26 | ||
27 | reload) | reload) |
28 | echo -e $COLOREDSTAR}"Reloading ..." | rc_print "Reloading ..." |
29 | reloadproc | reloadproc |
30 | ;; | ;; |
31 | ||
# | Line 40 case "$1" in | Line 40 case "$1" in |
40 | ;; | ;; |
41 | ||
42 | *) | *) |
43 | echo "Usage: $0 {start|stop|reload|restart|status}" | rc_echo "Usage: $0 {start|stop|reload|restart|status}" |
44 | exit 1 | exit 1 |
45 | ;; | ;; |
46 | esac | esac |
|