diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-27 13:46:06 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-27 13:56:18 +0000 |
commit | c5b50e71313cdaec7eff29aa946dde80fd7e3ef8 (patch) | |
tree | 6a1ded8840f8a35ead63725968793e78aa764904 /testing/dbmail/dbmail-pop3d.initd | |
parent | c3525747ebdf961237120368968150d824f6c017 (diff) | |
download | aports-c5b50e71313cdaec7eff29aa946dde80fd7e3ef8.tar.bz2 aports-c5b50e71313cdaec7eff29aa946dde80fd7e3ef8.tar.xz |
testing/dbmail: move to unmaintained
Diffstat (limited to 'testing/dbmail/dbmail-pop3d.initd')
-rw-r--r-- | testing/dbmail/dbmail-pop3d.initd | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/testing/dbmail/dbmail-pop3d.initd b/testing/dbmail/dbmail-pop3d.initd deleted file mode 100644 index 372c19ad99..0000000000 --- a/testing/dbmail/dbmail-pop3d.initd +++ /dev/null @@ -1,39 +0,0 @@ -#!/sbin/openrc-run -# - -PIDFILE="/var/run/dbmail/pop3d.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 POP3 daemon" - start-stop-daemon --start --quiet \ - --exec /usr/sbin/dbmail-pop3d \ - --name dbmail-pop3d \ - -- -p ${PIDFILE} -f /etc/dbmail.conf 2>&1 - eend $? -} - -stop() { - ebegin "Stopping DBMail POP3 daemon" - start-stop-daemon --stop --quiet --retry 5 \ - --pidfile ${PIDFILE} - eend $? -} - |