Adds newsboat systemd timer

master
Jonathan Hodgson 4 months ago
parent 3b0885689e
commit 4745bef302
  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