for use as a cron job to keep log file under control

This commit is contained in:
Jacob Salmela 2015-11-05 14:48:15 -06:00
parent a36352dfb6
commit cdf9c439f4
1 changed files with 3 additions and 0 deletions

View File

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