add email_to_webhook
This commit is contained in:
1 parent
95b737c5fa
commit
cfb1a5c8c3
4 files changed
+95
No files matched your search
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
D="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
cp $D/email_to_webhook /usr/local/bin/email_to_webhook
|
||||
chmod +x /usr/local/bin/email_to_webhook
|
||||
|
||||
mkdir -p /etc/environment.d
|
||||
|
||||
echo "|/usr/bin/envdir /etc/environment.d /usr/local/bin/email_to_webhook" > /root/.forward
|
||||
|
||||
echo "now put your webhook url in /etc/environment.d/SLACK_WEBHOOK_URL"
|
||||
Reference in new issue
Block a user