~ubuntu-branches/debian/lenny/smokeping/lenny

« back to all changes in this revision

Viewing changes to debian/init.d

  • Committer: Bazaar Package Importer
  • Author(s): Niko Tyni
  • Date: 2006-10-26 21:45:56 UTC
  • mfrom: (1.2.2 upstream) (2.1.5 edgy)
  • Revision ID: james.westby@ubuntu.com-20061026214556-5jnpiesx4vdijmu6
* debian/patches/15_clean_makefile.dpatch:
  + remove unneeded and potentially unsecure include paths.
* debian/patches: selected patches from the upstream SVN repository
  + 40_password.dpatch: skip reading the password file when running as a CGI.
  + 50_ldap.dpatch: Make the 'scope' option in the LDAP probe actually work.
  + 60_fping.dpatch:
    * Support the '-S' (set source address, see #198486) fping option.
    * Don't try to execute fping when running as a CGI.
  + 70_syslog.dpatch: Don't die silently if syslogd is unavailable.
    (Closes: #395056)
* Remove all the autogenerated documentation at clean time, to properly
  undo the effects of the 'build' target.
* Install example configuration files for documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
        echo "$NAME."
35
35
        ;;
36
 
  restart|force-reload)
 
36
  reload|force-reload)
 
37
        echo -n "Reloading $DESC configuration..."
 
38
        $DAEMON --reload >/dev/null
 
39
        echo "$NAME."
 
40
        ;;
 
41
  restart)
37
42
        echo -n "Restarting $DESC: "
38
43
        if [ -e /var/run/smokeping/$NAME.pid ];
39
44
        then
47
52
        ;;
48
53
  *)
49
54
        N=/etc/init.d/$NAME
50
 
        echo "Usage: $N {start|stop|restart|force-reload}" >&2
 
55
        echo "Usage: $N {start|stop|reload|restart|force-reload}" >&2
51
56
        exit 1
52
57
        ;;
53
58
esac