Files
tools-linux/windiscover/windows-name-discovery.service

16 lines
402 B
Desktop File

[Unit]
Description=Discover Windows/NetBIOS hostnames and update /etc/hosts
Documentation=file:///usr/local/share/doc/windiscover/README.md
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/python3 -I /usr/local/sbin/windiscover --update-hosts --quiet
Nice=10
IOSchedulingClass=idle
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=true
NoNewPrivileges=yes