From 4a52bea55178731d3d7dc47a5666036acfc18cad Mon Sep 17 00:00:00 2001 From: Thomas Raschbacher Date: Mon, 13 Aug 2012 08:26:20 +0200 Subject: removed old init files --- net-mail/dbmail/files/dbmail-imapd.initd | 40 ---------------------------- net-mail/dbmail/files/dbmail-lmtpd.initd | 40 ---------------------------- net-mail/dbmail/files/dbmail-pop3d.initd | 40 ---------------------------- net-mail/dbmail/files/dbmail-timsieved.initd | 39 --------------------------- 4 files changed, 159 deletions(-) delete mode 100644 net-mail/dbmail/files/dbmail-imapd.initd delete mode 100644 net-mail/dbmail/files/dbmail-lmtpd.initd delete mode 100644 net-mail/dbmail/files/dbmail-pop3d.initd delete mode 100644 net-mail/dbmail/files/dbmail-timsieved.initd diff --git a/net-mail/dbmail/files/dbmail-imapd.initd b/net-mail/dbmail/files/dbmail-imapd.initd deleted file mode 100644 index 8f6984f..0000000 --- a/net-mail/dbmail/files/dbmail-imapd.initd +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/runscript -# - -PIDFILE="/var/run/dbmail-imapd.pid" - -depend() { - need net - use mysql - use pgsql - after mta -} - -checkconfig() { - if [ ! -e "/etc/dbmail/dbmail.conf" ]; then - eerror "You need to create apropriate config" - eerror "in /etc/dbmail/ . Example can be found in /etc/dbmail/dbmail.conf.dist" - return 1 - fi - # Avoid using root's TMPDIR - unset TMPDIR -} - - -start() { - checkconfig && \ - ebegin "Starting DBMail IMAP daemon" - start-stop-daemon --start --quiet \ - --exec /usr/sbin/dbmail-imapd \ - --name dbmail-imapd \ - -- -p ${PIDFILE} -f /etc/dbmail/dbmail.conf 2>&1 - eend $? -} - -stop() { - ebegin "Stopping DBMail IMAP daemon" - start-stop-daemon --stop --quiet --retry 5 \ - --pidfile ${PIDFILE} - eend $? -} - diff --git a/net-mail/dbmail/files/dbmail-lmtpd.initd b/net-mail/dbmail/files/dbmail-lmtpd.initd deleted file mode 100644 index cea3da6..0000000 --- a/net-mail/dbmail/files/dbmail-lmtpd.initd +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/runscript -# - -PIDFILE="/var/run/dbmail-lmtpd.pid" - -depend() { - need net - use mysql - use pgsql - after mta -} - -checkconfig() { - if [ ! -e "/etc/dbmail/dbmail.conf" ]; then - eerror "You need to create apropriate config" - eerror "in /etc/dbmail/ . Example can be found in /etc/dbmail/dbmail.conf.dist" - return 1 - fi - # Avoid using root's TMPDIR - unset TMPDIR -} - - -start() { - checkconfig && \ - ebegin "Starting DBMail LMTP daemon" - start-stop-daemon --start --quiet \ - --exec /usr/sbin/dbmail-lmtpd \ - --name dbmail-lmtpd \ - -- -p ${PIDFILE} -f /etc/dbmail/dbmail.conf 2>&1 - eend $? -} - -stop() { - ebegin "Stopping DBMail LMTP daemon" - start-stop-daemon --stop --quiet --retry 5 \ - --pidfile ${PIDFILE} - eend $? -} - diff --git a/net-mail/dbmail/files/dbmail-pop3d.initd b/net-mail/dbmail/files/dbmail-pop3d.initd deleted file mode 100644 index 8c9e7b8..0000000 --- a/net-mail/dbmail/files/dbmail-pop3d.initd +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/runscript -# - -PIDFILE="/var/run/dbmail-pop3d.pid" - -depend() { - need net - use mysql - use pgsql - after mta -} - -checkconfig() { - if [ ! -e "/etc/dbmail/dbmail.conf" ]; then - eerror "You need to create apropriate config" - eerror "in /etc/dbmail/ . Example can be found in /etc/dbmail/dbmail.conf.dist" - return 1 - fi - # Avoid using root's TMPDIR - unset TMPDIR -} - - -start() { - checkconfig && \ - ebegin "Starting DBMail POP3 daemon" - start-stop-daemon --start --quiet \ - --exec /usr/sbin/dbmail-pop3d \ - --name dbmail-pop3d \ - -- -p ${PIDFILE} -f /etc/dbmail/dbmail.conf 2>&1 - eend $? -} - -stop() { - ebegin "Stopping DBMail POP3 daemon" - start-stop-daemon --stop --quiet --retry 5 \ - --pidfile ${PIDFILE} - eend $? -} - diff --git a/net-mail/dbmail/files/dbmail-timsieved.initd b/net-mail/dbmail/files/dbmail-timsieved.initd deleted file mode 100644 index 325badb..0000000 --- a/net-mail/dbmail/files/dbmail-timsieved.initd +++ /dev/null @@ -1,39 +0,0 @@ -#!/sbin/runscript -# - -PIDFILE="/var/run/dbmail-timsieved.pid" - -depend() { - need net - use mysql - use pgsql - after mta -} - -checkconfig() { - if [ ! -e "/etc/dbmail/dbmail.conf" ]; then - eerror "You need to create apropriate config" - eerror "in /etc/dbmail/ . Example can be found in /etc/dbmail/dbmail.conf.dist" - return 1 - fi - # Avoid using root's TMPDIR - unset TMPDIR -} - - -start() { - checkconfig && \ - ebegin "Starting DBMail SIEVE daemon" - start-stop-daemon --start --quiet \ - --exec /usr/sbin/dbmail-timsieved \ - -- -p ${PIDFILE} -f /etc/dbmail/dbmail.conf 2>&1 - eend $? -} - -stop() { - ebegin "Stopping DBMail SIEVE daemon" - start-stop-daemon --stop --quiet --retry 5 \ - --pidfile ${PIDFILE} - eend $? -} - -- cgit v1.2.3-65-gdbad