add readme

This commit is contained in:
Jeffrey Paul 2020-02-16 12:06:02 -08:00
parent b6cee8acf5
commit 82e65ed42a
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# email_to_webhook
put it in `/root/.forward`:
```
|"/usr/bin/envdir /etc/environment.d /usr/local/bin/email_to_webhook"
```
Then:
```
mkdir -p /etc/environment.d
echo "https://hooks.slack.com/services/blah/blah/secretblah" > /etc/environment.d/SLACK_WEBHOOK_URL
```