hacks/email-to-webhook/README.md

15 lines
271 B
Markdown
Raw Normal View History

2020-02-16 20:06:02 +00:00
# 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
```