summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/files
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2015-10-18 23:34:54 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2015-10-18 23:34:54 +0000
commit1d65b6dfed29183c7f8f43f7e89ce847ab2cb9fd (patch)
tree1b2507c84026598d1a9e4cd430e58e65c22fdb4a /net-mgmt/net-snmp/files
parentsysutils/logalyzer: fix typo from r340091 (diff)
- Add newsyslog rotation configuration for /var/log/snmpd.log
- Bump PORTREVISION Submitted by: Jan Joris Vereijken <janjoris@acm.org>
Diffstat (limited to 'net-mgmt/net-snmp/files')
-rw-r--r--net-mgmt/net-snmp/files/net-snmp.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp/files/net-snmp.conf b/net-mgmt/net-snmp/files/net-snmp.conf
new file mode 100644
index 000000000000..926d513d5c2b
--- /dev/null
+++ b/net-mgmt/net-snmp/files/net-snmp.conf
@@ -0,0 +1,6 @@
+# configuration file for newsyslog for net-snmp
+#
+# see newsyslog.conf(5) for details
+#
+# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
+/var/log/snmpd.log 644 7 100 * J /var/run/net_snmpd.pid