ntfy/Readme.md

15 lines
708 B
Markdown

## setup ntfy
ntfy is on [apple store](https://apps.apple.com/us/app/ntfy/id1625396347) and [play store](https://play.google.com/store/apps/details?id=io.heckel.ntfy)
Basically it's an app which subscribes to a channel with a name. messages can be send to the channel with GET requests. So `curl` in a simple script is essentially all you need on a system for notifications of all kind.
Details see [here](https://docs.ntfy.sh/publish/).
### mdadm
- add line with `PROGRAM` to your existing mdadm config, usually in `/etc/mdadm/mdadm.cfg`
- place `mdadm-notify.sh` in a folder specified in the config, eg. /usr/local/bin
- make the script executable, with eg. `chmod +x /usr/local/bin/mdadm-notiy.sh`