summaryrefslogtreecommitdiff
path: root/debian/sendmail.init.d.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/sendmail.init.d.in')
-rw-r--r--debian/sendmail.init.d.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/debian/sendmail.init.d.in b/debian/sendmail.init.d.in
new file mode 100644
index 0000000..49caef3
--- /dev/null
+++ b/debian/sendmail.init.d.in
@@ -0,0 +1,41 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides: sendmail
+# Required-Start: $remote_fs $network $syslog
+# Required-Stop: $remote_fs $network $syslog
+# Should-Start: $named
+# Should-Stop: $named
+# Default-Start: 2 3 4 5
+# Default-Stop: 1
+# Short-Description: powerful, efficient, and scalable Mail Transport Agent
+# Description: Sendmail is an alternative Mail Transport Agent (MTA)
+# for Debian. It is suitable for handling sophisticated
+# mail configurations, although this means that its
+# configuration can also be complex. Fortunately, simple
+# thing can be done easily, and complex thing are possible,
+# even if not easily understood ;) Sendmail is the *ONLY*
+# MTA with a Turing complete language to control *ALL*
+# aspects of delivery!
+### END INIT INFO
+
+# Author: Marc-Christian Petersen <m.c.p@kernel.linux-systeme.com>
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+DESC="Mail Transport Agent (MTA)"
+NAME=sendmail
+DAEMON=/usr/sbin/$NAME
+DAEMON_ARGS=""
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Exit if the package is not installed
+[ -x "$DAEMON" ] || exit 0
+
+# Read configuration variable file if it is present
+[ -r /etc/default/sendmail ] && . /etc/default/sendmail
+
+# Load the VERBOSE setting and other rcS variables
+. /lib/init/vars.sh
+
+# Define LSB log_* functions.
+. /lib/lsb/init-functions
+