/[projects]/smsdaemon/scripts/smsdaemon-initscript
ViewVC logotype

Diff of /smsdaemon/scripts/smsdaemon-initscript

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

revision 208 by torben, Sun Dec 21 18:41:08 2008 UTC revision 520 by torben, Sat Dec 26 23:01:01 2009 UTC
# Line 4  PIDFILE="/var/run/smsdaemon.pid" Line 4  PIDFILE="/var/run/smsdaemon.pid"
4    
5  function start_d  function start_d
6  {  {
7          /usr/local/sbin/smsdaemon --daemon          /usr/local/bin/smsdaemon --daemon
8  }  }
9    
10  function stop_d  function stop_d
# Line 56  case $1 in Line 56  case $1 in
56          "reload")          "reload")
57                  reload_d                  reload_d
58                  ;;                  ;;
59            "restart")
60                    stop_d
61                    sleep 5
62                    start_d
63                    ;;
64          *)          *)
65                  echo "Usage $0 [start|stop|status|reload]"                  echo "Usage $0 [start|stop|status|reload|restart]"
66                  ;;                  ;;
67  esac  esac

Legend:
Removed from v.208  
changed lines
  Added in v.520

  ViewVC Help
Powered by ViewVC 1.1.20