diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/pfstat.xml | 8 |
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 && mv /tmp/pfstat /var/log/pfstat </textneeded> </item> </modify_system> |