diff --git a/advanced/pihole-update.service b/advanced/pihole-update.service new file mode 100644 index 0000000..5333a89 --- /dev/null +++ b/advanced/pihole-update.service @@ -0,0 +1,6 @@ +[Unit] +Description=Raspberry Pi Ad Blocker + +[Service] +Type=simple +ExecStart=/usr/local/bin/gravity.sh diff --git a/advanced/pihole-update.timer b/advanced/pihole-update.timer new file mode 100644 index 0000000..da96189 --- /dev/null +++ b/advanced/pihole-update.timer @@ -0,0 +1,11 @@ +[Unit] +Description=Raspberry Pi Ad Blocker + +[Timer] +# Time to wait after boot +OnBootSec=10min +# Time to wait for ongoing script executions +OnUnitActiveSec=1w + +[Install] +WantedBy=timers.target