add update-notifier

This commit is contained in:
Ray Elliott 2020-09-01 17:41:06 +01:00
parent abc1943888
commit 102f488b39
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,9 @@
[Unit]
Description=Notify when updates are available
[Service]
ExecStart=/usr/local/bin/notify-updates -n
[Install]
WantedBy=default.target

View File

@ -0,0 +1,8 @@
[Unit]
Description=Periodically run update-notifier
[Timer]
OnCalendar=*-*-* 14:00:00
[Install]
WantedBy=timers.target