openbsd-ports/mail/courier-imap/pkg/courier_pop3.rc
ajacoutot 15cb0bcccf Make use of rcexec in rc_start().
ok giovanni@ (maintainer)
2011-03-20 13:06:23 +00:00

20 lines
266 B
Bash

#!/bin/sh
#
# $OpenBSD: courier_pop3.rc,v 1.5 2011/03/20 13:06:23 ajacoutot Exp $
daemon="${TRUEPREFIX}/libexec/pop3d.rc"
. /etc/rc.d/rc.subr
pexp=".*courierlogger.*pop3d.pid"
rc_start() {
${rcexec} "${daemon} start"
}
rc_stop() {
${daemon} stop
}
rc_cmd $1