aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/pfstat.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/pfstat.xml b/packages/pfstat.xml
index 36a432a0..f34a988e 100644
--- a/packages/pfstat.xml
+++ b/packages/pfstat.xml
@@ -33,7 +33,13 @@
<item>
<modifyfilename>/etc/crontab</modifyfilename>
<textneeded>
-*/5 * * * * root /usr/local/bin/pfstat -c /usr/local/etc/pfstat.conf -d /var/log/pfstat
+* * * * * root /usr/local/bin/pfstat -c /usr/local/etc/pfstat.conf -d /var/log/pfstat
+ </textneeded>
+ </item>
+ <item>
+ <modifyfilename>/etc/crontab</modifyfilename>
+ <textneeded>
+1 1 * * 1 root tail -n 50000 /var/log/pfstat >/tmp/pfstat &amp;&amp; mv /tmp/pfstat /var/log/pfstat
</textneeded>
</item>
</modify_system>