summarylogtreecommitdiffstats
path: root/pi-hole-logtruncate.service
blob: 551de078f31d48e6115e035ff71609cfaf02870e (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/pihole.log
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7