- Listen in daemon mode by default

This commit is contained in:
Martin Matuska 2010-10-13 10:36:45 +00:00
parent a96501fa62
commit faf2411c9d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262953
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= nsca
PORTVERSION= 2.7.2
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= net-mgmt
MASTER_SITES= SF/nagios/nsca-2.x/nsca-${PORTVERSION}

View file

@ -8,7 +8,7 @@
# Add the following lines to /etc/rc.conf to enable nsca:
# nsca_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable nsca.
# nsca_flags (str): Set to "--single" by default.
# nsca_flags (str): Set to "--daemon" by default.
# nsca_configfile (str): Set to "%%PREFIX%%/etc/nagios/nsca.cfg" by default.
#
@ -22,7 +22,7 @@ pidfile="/var/run/nsca.pid"
extra_commands=reload
nsca_enable=${nsca_enable:-"NO"}
nsca_flags=${nsca_flags:-"--single"}
nsca_flags=${nsca_flags:-"--daemon"}
nsca_configfile=${nsca_configfile:-"%%PREFIX%%/etc/nagios/nsca.cfg"}
load_rc_config "${name}"