scripts/hosts/guard/hosts-guard.service

13 lines
215 B
SYSTEMD
Raw Permalink Normal View History

2025-10-01 20:50:56 +02:00
[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