9895ebaecd8c7f8c3391f0fd8b650a6ef43a58c8
[packages/precise/mcollective.git] / ext / debian / patches / initlsb.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## initlsb.dpatch by  <giskard@debian.org
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Init func.
6
7 @DPATCH@
8 diff -urNad mcollective-0.4.1~/mcollective.init mcollective-0.4.1/mcollective.init
9 --- mcollective-0.4.1~/mcollective.init 2010-01-02 14:54:25.000000000 +0000
10 +++ mcollective-0.4.1/mcollective.init  2010-01-07 10:52:38.000000000 +0000
11 @@ -8,6 +8,15 @@
12  #              much about all the setup and management of a Stomp connection, it also provides stats, logging and so forth
13  #              as a bonus.
14  #
15 +### BEGIN INIT INFO
16 +# Provides:          scriptname
17 +# Required-Start:    $remote_fs $syslog
18 +# Required-Stop:     $remote_fs $syslog
19 +# Default-Start:     2 3 4 5
20 +# Default-Stop:      0 1 6
21 +# Short-Description: Start daemon at boot time
22 +# Description:       Enable service provided by daemon.
23 +### END INIT INFO
24  
25  RUBYLIB=/usr/local/lib/site_ruby/1.8:$RUBYLIB
26  export RUBYLIB
27 @@ -104,7 +113,10 @@
28             echo "mcollectived: service not started"
29             exit 1
30         fi
31 -        ;;
32 +  ;;
33 +       force-reload)
34 +               echo "not implemented"
35 +       ;;
36    *)
37         echo "Usage: mcollectived {start|stop|restart|condrestart|status}"
38         exit 1