summaryrefslogtreecommitdiffstats
path: root/net-mgmt/snmptt/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-11-08 16:22:22 +0000
committerpav <pav@FreeBSD.org>2005-11-08 16:22:22 +0000
commitb234590442b2bfff587ab4bf8d738b7a48321c84 (patch)
treef73b77004c42e16201c26fd473d79787a5aa63b4 /net-mgmt/snmptt/files
parentac5c45ff255786c13a75023c80c8c37767a9c962 (diff)
downloadFreeBSD-ports-b234590442b2bfff587ab4bf8d738b7a48321c84.zip
FreeBSD-ports-b234590442b2bfff587ab4bf8d738b7a48321c84.tar.gz
- Update to 1.0
- Improve config file and startup script handling PR: ports/86459 Submitted by: Blaz Zupan <blaz@si.FreeBSD.org> Approved by: maintainer timeout (bms; 1 month)
Diffstat (limited to 'net-mgmt/snmptt/files')
-rw-r--r--net-mgmt/snmptt/files/snmptt.sh.in (renamed from net-mgmt/snmptt/files/snmptt.sh)4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/snmptt/files/snmptt.sh b/net-mgmt/snmptt/files/snmptt.sh.in
index 1b3ce5f..9d830af 100644
--- a/net-mgmt/snmptt/files/snmptt.sh
+++ b/net-mgmt/snmptt/files/snmptt.sh.in
@@ -21,13 +21,13 @@ name=snmptt
rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/${name}
-command_args="--daemon"
+command_args=">/dev/null --daemon"
pidfile=/var/run/${name}.pid
# XXX: Makes assumptions about the interpreter path and version. However,
# USE_PERL5 should guarantee that this path is valid. In any event, we
# don't sed-ify the #! operators.
procname=/usr/bin/perl
-required_files=%%PREFIX%%/etc/${name}.ini
+required_files=%%PREFIX%%/etc/snmp/${name}.ini
# set defaults
OpenPOWER on IntegriCloud