diff options
Diffstat (limited to 'net-mail/up-imapproxy/files/imapproxy.initd')
-rw-r--r-- | net-mail/up-imapproxy/files/imapproxy.initd | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-mail/up-imapproxy/files/imapproxy.initd b/net-mail/up-imapproxy/files/imapproxy.initd new file mode 100644 index 000000000000..a95389027452 --- /dev/null +++ b/net-mail/up-imapproxy/files/imapproxy.initd @@ -0,0 +1,20 @@ +#!/sbin/openrc-run +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + use logger + need net +} + +start() { + ebegin "Starting up-imapproxy" + start-stop-daemon --start --quiet --exec /usr/sbin/imapproxyd + eend $? +} + +stop() { + ebegin "Stopping up-imapproxy" + start-stop-daemon --stop --quiet --exec /usr/sbin/imapproxyd + eend $? +} |