Adds newsboat systemd timer

master
Jonathan Hodgson 3 years ago
parent 892ccd9fe0
commit 4f3593ad00
  1. 8
      newsboat/.config/systemd/user/newsboat.service
  2. 10
      newsboat/.config/systemd/user/newsboat.timer

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

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