Read settings from a config file
Source ~/.config/update-notify/config to override THRESHOLD, AUR_REPO and KERNELS, so settings survive package upgrades. The threshold argument still takes precedence, so drop it from the service. Add a commented sample config.
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
Description=Notify if updates are available
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/update-notify 30
|
||||
ExecStart=/usr/bin/update-notify
|
||||
Type=oneshot
|
||||
|
||||
Reference in New Issue
Block a user