for use as a cron job

The log will be flushed daily and stats will be stored in a DB for
displaying on the Web interface.
This commit is contained in:
Jacob Salmela 2015-11-05 14:31:38 -06:00
parent ee40bc0423
commit 1b51b9ade3

View file

@ -0,0 +1,3 @@
#!/bin/bash
# Flushes /var/log/pihole.log
truncate -s 0 /var/log/pihole.log