Configuration file options modified.
address renamed to uri, <header> renamed to <subject>
This commit is contained in:
@@ -9,12 +9,12 @@ service_start = true
|
||||
|
||||
[rule1]
|
||||
service = Test1
|
||||
address = http://127.0.0.1:3000/api/v1/
|
||||
uri = http://127.0.0.1:3000/api/v1/
|
||||
email = admin@server.local
|
||||
command = send-telegram <message>
|
||||
|
||||
[rule2]
|
||||
service = Test2
|
||||
address = http://127.0.0.1:3300/api/v1/
|
||||
uri = http://127.0.0.1:3300/api/v1/
|
||||
email = admin@server.local
|
||||
command = send-telegram <message>
|
||||
|
||||
@@ -9,12 +9,12 @@ service_start = true
|
||||
|
||||
[rule1]
|
||||
service = Test1
|
||||
address = http://127.0.0.1:3000/api/v1/
|
||||
uri = http://127.0.0.1:3000/api/v1/
|
||||
email = admin@server.local
|
||||
command = ./send-telegram.ps1 <message>
|
||||
|
||||
[rule2]
|
||||
service = Test2
|
||||
address = http://127.0.0.1:3300/api/v1/
|
||||
uri = http://127.0.0.1:3300/api/v1/
|
||||
email = admin@server.local
|
||||
command = ./send-telegram.ps1 <message>
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
Param([Parameter(Mandatory=$true)][String]$Message)
|
||||
|
||||
$Telegramtoken = "Your_Telegram_Token"
|
||||
$Telegramchatid = "Your_Telegram_Chat_ID"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user