summarylogtreecommitdiffstats
path: root/pi-hole-logtruncate.service
blob: 76cd7c83068d8d6868cf3485b4742b3b49436d8b (plain)
1
2
3
4
5
6
7
8
9
[Unit]
Description=Reset dnsmasq/pi-hole query log

[Service]
Type=oneshot
ExecStart=/usr/bin/truncate -s 0 /run/log/pihole.log
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7