Adds newsboat systemd timer

This commit is contained in:
Jonathan Hodgson 2022-04-08 14:10:32 +01:00
parent 892ccd9fe0
commit 4f3593ad00
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,8 @@
[Unit]
Description=Refreshes and notifies for newsboat
[Service]
ExecStart=newsboat -x reload
[Install]
WantedBy=default.target

View file

@ -0,0 +1,10 @@
[Unit]
Description=Update Newsboat every hour
[Timer]
OnBootSec=1hour
OnActiveSec=1hour
OnUnitActiveSec=1hour
[Install]
WantedBy=timers.target