Make example notifier more clear

This commit is contained in:
Alexander Schäferdiek 2023-01-26 00:30:11 +01:00
parent 80c22b5207
commit 7a5c6a7461

View file

@ -52,7 +52,14 @@ Server = https://aur.myservermanager.com
## Usage
Scripts make heavy use of **notifier** script which should be configured properly.
Scripts make heavy use the bundled **notifier** script (see `man notifier`) which should be configured properly, e.g. add a `/etc/notifier.conf`:
```shell
NOTIFIER_MAIL_ADDRESS=monitoring@yourdomain.tld
NOTIFIER_MAIL_ENABLED=true
# Enable gotify by running gotify init first, you need a custom serverfor this
NOTIFIER_GOTIFY_ENABLED=false
```
Otherwise, services and scripts don't depend on each other, but have hints that they can be combined (out-commented line in service files for `systemd_failure_notify@.service` for example).