aboutsummarylogtreecommitdiffstats
path: root/fetch-hosts.timer
diff options
context:
space:
mode:
authorMichael Mogenson2018-10-24 16:39:06 -0400
committerMichael Mogenson2018-11-29 14:32:39 -0500
commitc77442af659ef4cd2293ccfbdbcbf3404f892075 (patch)
tree3c0c169dee17eaf09a1e98bda917b7696d316862 /fetch-hosts.timer
downloadaur-fetch-hosts.tar.gz
fetch-hosts AUR package
This package is a systemd timer and service to fetch an adblocking and malware blocking hosts file from https://github.com/StevenBlack/hosts on a weekly basis and install it to /etc/hosts.
Diffstat (limited to 'fetch-hosts.timer')
-rw-r--r--fetch-hosts.timer9
1 files changed, 9 insertions, 0 deletions
diff --git a/fetch-hosts.timer b/fetch-hosts.timer
new file mode 100644
index 000000000000..63ec7c2dd688
--- /dev/null
+++ b/fetch-hosts.timer
@@ -0,0 +1,9 @@
+[Unit]
+Description=Fetch new hosts file via fetch-hosts.service
+
+[Timer]
+OnCalendar=weekly
+Persistent=true
+
+[Install]
+WantedBy=timers.target