mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Corrected path
This commit is contained in:
parent
6b6fbc4709
commit
3a8a936575
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
|||
echo -n "::: Flushing /var/log/pihole.log ..."
|
||||
# Test if logrotate is available on this system
|
||||
if command -v /usr/sbin/logrotate &> /dev/null; then
|
||||
/usr/sbin/logrotate --force /etc/.pihole/logrotate
|
||||
/usr/sbin/logrotate --force /etc/.pihole/advanced/logrotate
|
||||
else
|
||||
echo " " > /var/log/pihole.log
|
||||
fi
|
||||
|
|
|
@ -26,4 +26,4 @@
|
|||
# The flush script will use logrotate if available
|
||||
00 00 * * * root PATH="$PATH:/usr/local/bin/" pihole flush
|
||||
|
||||
@reboot /usr/sbin/logrotate /etc/.pihole/logrotate
|
||||
@reboot /usr/sbin/logrotate /etc/.pihole/advanced/logrotate
|
||||
|
|
Loading…
Reference in a new issue