Initial commit
This commit is contained in:
6
services/pihole/update-hints.service
Normal file
6
services/pihole/update-hints.service
Normal file
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Update the unbound root hints
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/var/home/pihole/update-hints.sh
|
||||
11
services/pihole/update-hints.timer
Normal file
11
services/pihole/update-hints.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Timer for the update-hints service
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-12-01 00:00:00
|
||||
OnCalendar=*-6-01 00:00:00
|
||||
Persistent=true
|
||||
Unit=update-hints.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
6
services/pihole/update-root.service
Normal file
6
services/pihole/update-root.service
Normal file
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Update the unbound root entries
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/var/home/pihole/update-root.sh
|
||||
10
services/pihole/update-root.timer
Normal file
10
services/pihole/update-root.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Timer for the update-root service
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-01 00:00:00
|
||||
Persistent=true
|
||||
Unit=update-root.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user