Adds newsboat systemd timer
This commit is contained in:
parent
892ccd9fe0
commit
4f3593ad00
2 changed files with 18 additions and 0 deletions
8
newsboat/.config/systemd/user/newsboat.service
Normal file
8
newsboat/.config/systemd/user/newsboat.service
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=Refreshes and notifies for newsboat
|
||||
|
||||
[Service]
|
||||
ExecStart=newsboat -x reload
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
10
newsboat/.config/systemd/user/newsboat.timer
Normal file
10
newsboat/.config/systemd/user/newsboat.timer
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Update Newsboat every hour
|
||||
|
||||
[Timer]
|
||||
OnBootSec=1hour
|
||||
OnActiveSec=1hour
|
||||
OnUnitActiveSec=1hour
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Add table
Add a link
Reference in a new issue