diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-01 17:26:53 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-01 17:26:53 +0100 |
commit | 3ce3c4fd596debefbad77328a9b62a39eccf753c (patch) | |
tree | 8ea8842d946335dbd124e71336a11b928481c544 /unmaintained/dbmail/dbmail-imapd.initd | |
parent | 62b8ba5f8fe6d62d56b2d078b4f12f72830ee4af (diff) | |
download | aports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.bz2 aports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.xz |
unmaintained/*: purge aports not touched since v3.5.0
We agreed with ncopa on #alpine-devel (2017-12-01 16:20 UTC) to
periodically purge aports in unmaintained that haven't been touched
in last 1 year (2 releases).
Diffstat (limited to 'unmaintained/dbmail/dbmail-imapd.initd')
-rw-r--r-- | unmaintained/dbmail/dbmail-imapd.initd | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/unmaintained/dbmail/dbmail-imapd.initd b/unmaintained/dbmail/dbmail-imapd.initd deleted file mode 100644 index 035978ef53..0000000000 --- a/unmaintained/dbmail/dbmail-imapd.initd +++ /dev/null @@ -1,39 +0,0 @@ -#!/sbin/openrc-run -# - -PIDFILE="/var/run/dbmail/imapd.pid" - -depend() { - need net - use mysql - use pgsql - after mta -} - -checkconfig() { - if [ ! -e "/etc/dbmail.conf" ]; then - eerror "You need to create apropriate config" - eerror "/etc/dbmail.conf" - 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.conf 2>&1 - eend $? -} - -stop() { - ebegin "Stopping DBMail IMAP daemon" - start-stop-daemon --stop --quiet --retry 5 \ - --pidfile ${PIDFILE} - eend $? -} - |