diff options
author | Wichert Akkerman <wakkerma@debian.org> | 1999-12-07 02:32:22 +0100 |
---|---|---|
committer | Andreas Beckmann <debian@abeckmann.de> | 2012-10-01 19:58:39 +0200 |
commit | 4e2c4cdcd62c4ab1d5e884e8afaa0bbe1b981e42 (patch) | |
tree | 3735b995048d3eccbfa7e5095e00d483c2549225 /debian/init.d | |
parent | 7b9056b97dd10ee7b6b02f88a239f9f99cfa38f8 (diff) | |
download | sendmail-4e2c4cdcd62c4ab1d5e884e8afaa0bbe1b981e42.tar.gz |
Imported Debian patch 8.9.3-3slink1debian/8.9.3-3slink1
Diffstat (limited to 'debian/init.d')
-rw-r--r-- | debian/init.d | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/debian/init.d b/debian/init.d deleted file mode 100644 index ff8422a..0000000 --- a/debian/init.d +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh - -# Start or stop sendmail -# -# Robert Leslie <rob@mars.org> -# Johnie Ingram <johnie@netgod.net> -# David Rocher <rocher@mail.dotcom.fr> -# Richard Nelson <cowboy@debain.org> - -# How often to run the queue -Q="10m" - -PATH=/bin:/usr/bin:/sbin:/usr/sbin -DAEMON=/usr/sbin/sendmail -PIDFILE=/var/run/sendmail.pid -NAME=sendmail -FLAGS="defaults 50" - -test -x $DAEMON -a -f /etc/sendmail.cf || exit 0 - -case "$1" in - start) - ( cd /var/spool/mqueue && rm -f [lnx]f* ) - echo -n "Starting mail transport agent: sendmail" - start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- -bd -q"$Q" - echo "." - ;; - - stop) - echo -n "Stopping mail transport agent: sendmail" - start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON - echo "." - ;; - - restart) - $0 stop - $0 start - ;; - - reload) - echo -n "Reloading sendmail configuration..." - start-stop-daemon --stop --signal 1 --quiet \ - --pidfile $PIDFILE --exec $DAEMON - echo "done." - ;; - - force-reload) - $0 reload - ;; - - debug) - start-stop-daemon --stop --signal 10 --verbose \ - --pidfile $PIDFILE --exec $DAEMON - ;; - - *) - echo "Usage: /etc/init.d/sendmail {start|stop|restart|reload|force-reload|debug}" - exit 1 - ;; -esac - -exit 0 |