]> Pileus Git - ~andy/fetchmail/commitdiff
Drop debian_rc from contrib/, outdated.
authorMatthias Andree <matthias.andree@gmx.de>
Sun, 19 Jun 2011 18:01:46 +0000 (20:01 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Sun, 19 Jun 2011 18:01:46 +0000 (20:01 +0200)
contrib/README
contrib/debian_rc [deleted file]

index db328d42b324db95663e021702e8f1d0ae0ed005..bbcbd7b505e34396c0e8cf04c14e3e7e8e882bed 100644 (file)
@@ -96,16 +96,6 @@ fetchmail in background to get messages when you connect to your ISP.
 The invoked fetchmail expects to find its configuration in
 /etc/fetchmailrc, and must include the proper "interface" directive.
 
-### debian_rc:
-
-A fetchmail boot-time init file compatible with Debian.  It leaves
-fetchmail in background to get messages when you connect to your ISP.
-The invoked fetchmail expects to find its configuration in
-/root/.fetchmailrc, and must include the proper "interface" directive.
-
-Matthias Andree adds: note that current Debian packages (as of January
-2007) ship with their own init files.
-
 ### start_dynamic_ppp:
 
 An admittedly scratchy ip-up script that Ryan Murray wrote to cope with
diff --git a/contrib/debian_rc b/contrib/debian_rc
deleted file mode 100755 (executable)
index 7bbdbdc..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-#
-# To start fetchmail as a system service, copy this file to
-# /etc/init.d/fetchmail and run "update-rc.d fetchmail
-# defaults".  A fetchmailrc file containg hosts and
-# passwords for all local users should be placed in /root
-# and should contain a line of the form "set daemon <nnn>".
-#
-# To remove the service, delete /etc/init.d/fetchmail and run
-# "update-rc.d fetchmail remove".
-
-DAEMON=/usr/bin/fetchmail
-
-set -e
-test -f $DAEMON || exit 0
-
-case "$1" in
-  start)
-        echo -n "Starting mail retrieval agent: "
-        if start-stop-daemon --start --quiet --exec $DAEMON; then echo "fetchmail."
-        else echo "fetchmail already running."; fi
-        ;;
-  stop)
-        echo -n "Stopping mail retrieval agent: "
-        start-stop-daemon --stop --quiet --exec $DAEMON
-        echo "fetchmail."
-        ;;
-  force-reload|restart)
-        echo -n "Restarting mail retrieval agent: "
-        start-stop-daemon --stop --quiet --exec $DAEMON
-        start-stop-daemon --start --quiet --exec $DAEMON
-        echo "fetchmail."
-        ;;
-  *)
-        echo "Usage: /etc/init.d/fetchmail {start|stop|restart}"
-        exit 1
-        ;;
-esac
-
-exit 0