computer-playbook/roles/systemd_notifier_telegram/templates/systemd_notifier_telegram.sh.j2

3 lines
164 B
Plaintext
Raw Normal View History

2023-05-28 22:17:33 +02:00
#!/bin/bash
/usr/bin/curl -s -X POST https://api.telegram.org/bot{{ telegram_bot_token }}/sendMessage -d chat_id={{ telegram_chat_id }} -d text="service $1 failed"