Skip to content

Instantly share code, notes, and snippets.

@mmatczuk
Last active July 13, 2021 13:18
Show Gist options
  • Save mmatczuk/229721827ea38dbe45f7daaec35295e1 to your computer and use it in GitHub Desktop.
Save mmatczuk/229721827ea38dbe45f7daaec35295e1 to your computer and use it in GitHub Desktop.
[Unit]
Description=No tracking hosts blocklists
After=NetworkManager-wait-online.service
[Service]
Type=oneshot
ExecStart=/usr/bin/sleep 10
ExecStart=/usr/bin/curl 'https://raw.githubusercontent.com/notracking/hosts-blocklists/master/dnsmasq/dnsmasq.blacklist.txt' -o '/etc/NetworkManager/blacklist.txt'
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment