Created
February 19, 2022 20:14
-
-
Save T0biii/4e26c375aa307002b1be5ccd36a2fc95 to your computer and use it in GitHub Desktop.
Mailcow pre and post Hook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cd /opt/ | |
#git clone https://github.com/ChaoticWeg/discord.sh | |
#create ".webhook" in /opt/discord.sh/ with webhook URL for more infos see: https://github.com/ChaoticWeg/discord.sh | |
#post_update_hook.sh | |
IP=$(hostname --ip-address) | |
/opt/discord.sh/discord.sh --text "@here :ocean: **Mailcow update completed.** :ocean: :keyboard: **DNS/IP:** $IP" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cd /opt/ | |
#git clone https://github.com/ChaoticWeg/discord.sh | |
#create ".webhook" in /opt/discord.sh/ with webhook URL for more infos see: https://github.com/ChaoticWeg/discord.sh | |
#pre_update_hook.sh | |
IP=$(hostname --ip-address) | |
/opt/discord.sh/discord.sh --text "@here :fire: **Update for mailcow started.** :fire: :keyboard: **DNS/IP:** $IP" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment