Fix the rc script.
This commit is contained in:
parent
f9ef6ea850
commit
808f0c3020
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.72 2012/01/26 11:32:06 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.73 2012/01/26 11:34:42 ajacoutot Exp $
|
||||
|
||||
COMMENT= mailing list manager with web interface
|
||||
|
||||
DISTNAME= mailman-2.1.14
|
||||
REVISION= 15
|
||||
REVISION= 16
|
||||
CATEGORIES= mail www
|
||||
|
||||
HOMEPAGE= http://www.gnu.org/software/mailman/
|
||||
|
@ -1,21 +1,17 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: mailman.rc,v 1.9 2011/09/14 01:56:30 william Exp $
|
||||
# $OpenBSD: mailman.rc,v 1.10 2012/01/26 11:34:42 ajacoutot Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/lib/mailman/bin/mailmanctl"
|
||||
daemon_flags="-s -q"
|
||||
daemon_flags="-s start"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
pexp="${MODPY_BIN} ${daemon}${daemon_flags:+ ${daemon_flags}}"
|
||||
rc_reload=NO
|
||||
|
||||
rc_start() {
|
||||
${rcexec} "${daemon} ${daemon_flags} start"
|
||||
}
|
||||
|
||||
rc_stop() {
|
||||
${daemon} ${daemon_flags} stop
|
||||
${daemon} stop
|
||||
}
|
||||
|
||||
rc_cmd $1
|
||||
|
Loading…
Reference in New Issue
Block a user