Skip to content

Commit

Permalink
Issue 15: Add startup notification for Telegram (#16)
Browse files Browse the repository at this point in the history
Co-authored-by: clickbg <me@me.me>
  • Loading branch information
clickbg and Abcd4321 authored Nov 1, 2024
1 parent a37231e commit c3c0010
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions root/docker-entrypoint.d/99-homekit-monitoring-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ else
sed -i '/then alert/d' $MONIT_HKRC $MONIT_TRADFRIRC
sed -i "s/TELEGRAM_TOKEN/$TELEGRAM_TOKEN/g" $TELEGRAMRC
sed -i "s/TELEGRAM_CHATID/$TELEGRAM_CHATID/g" $TELEGRAMRC
/usr/local/bin/sendtelegram.sh -c /etc/telegramrc -m "Homekit-monitord - instance changed at $(date) : Service started."
fi

## (COAP) Set Monit to restart HomeKit hubs, or not depending on our config
Expand Down

0 comments on commit c3c0010

Please sign in to comment.