deleted: ShellCrash_PR
modified: scripts/start.sh
This commit is contained in:
Submodule ShellCrash_PR deleted from 6e278d6aba
@@ -129,6 +129,9 @@ logger() { #日志工具
|
|||||||
webpush "$url" "$content" &
|
webpush "$url" "$content" &
|
||||||
}
|
}
|
||||||
[ -n "$push_SynoChat" ] && {
|
[ -n "$push_SynoChat" ] && {
|
||||||
|
# url="${push_ChatURL}"
|
||||||
|
# content="payload={\"text\":\"${log_text}\", \"user_ids\":[${push_ChatUSERID}]}"
|
||||||
|
# webpush "$url" "$content" &
|
||||||
curl -X POST "${push_ChatURL}/webapi/entry.cgi?api=SYNO.Chat.External&method=chatbot&version=2&token=${push_ChatTOKEN}" -H 'content-Type: application/json' -d "payload={\"text\":\"${log_text}\", \"user_ids\":[${push_ChatUSERID}]}" >/dev/null 2>&1
|
curl -X POST "${push_ChatURL}/webapi/entry.cgi?api=SYNO.Chat.External&method=chatbot&version=2&token=${push_ChatTOKEN}" -H 'content-Type: application/json' -d "payload={\"text\":\"${log_text}\", \"user_ids\":[${push_ChatUSERID}]}" >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
} &
|
} &
|
||||||
|
|||||||
Reference in New Issue
Block a user