Fix rc script.
This commit is contained in:
parent
d5d6a98846
commit
35c2bc2fbf
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2010/12/27 14:50:22 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2011/03/20 06:36:55 ajacoutot Exp $
|
||||
|
||||
COMMENT = service monitoring daemon
|
||||
|
||||
DISTNAME = mon-${V}
|
||||
REVISION = 5
|
||||
REVISION = 6
|
||||
|
||||
WANTLIB = c
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: mon.rc,v 1.5 2010/12/27 14:50:22 ajacoutot Exp $
|
||||
# $OpenBSD: mon.rc,v 1.6 2011/03/20 06:36:55 ajacoutot Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/bin/mon"
|
||||
daemon_flags="-c ${SYSCONFDIR}/mon/mon.cf -f -P /var/run/mon/mon.pid"
|
||||
@ -8,7 +8,7 @@ daemon_user="_mon"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
pexp="/usr/bin/perl ${daemon}${daemon_flags}"
|
||||
pexp="/usr/bin/perl ${daemon}${daemon_flags:+ ${daemon_flags}}"
|
||||
rc_reload=NO
|
||||
|
||||
rc_pre() {
|
||||
|
Loading…
Reference in New Issue
Block a user