scripts/hosts/guard/hosts-guard.service

13 lines
215 B
Desktop File

[Unit]
Description=Enforce canonical /etc/hosts contents
After=local-fs.target
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/enforce-hosts.sh
Nice=10
IOSchedulingClass=idle
[Install]
WantedBy=multi-user.target