select which transport to use by default

This commit is contained in:
2025-10-23 15:17:44 +03:00
parent 4448764bca
commit 62e2ea74be
3 changed files with 65 additions and 9 deletions

View File

@@ -6,5 +6,14 @@ EMAIL_API_ENDPOINT="https://mail-proxy.example.org/api/mail"
TELEGRAM_BOT_TOKEN=""
TELEGRAM_CHAT_ID=""
# Transport Configuration
# Space-separated list of transports to use when PAM triggers the script
# Valid options: email telegram
# Examples:
# PAM_TRANSPORTS="telegram email" # both
# PAM_TRANSPORTS="telegram" # only Telegram
# PAM_TRANSPORTS="email" # only Email
PAM_TRANSPORTS="telegram email"
# Log file for the notifier script
LOG_FILE="/var/log/ssh-notify.log"