push install status

This commit is contained in:
Usman Nasir
2021-03-22 13:37:08 +05:00
parent 7baca327af
commit 9c78224455

View File

@@ -102,8 +102,9 @@ echo -e "\n${1}=${2}\n" >> /tmp/cyberpanel_debug.log
}
Debug_Log2() {
Check_Server_IP "$@"
echo -e "\n${1}" >> /var/log/installLogs.txt
curl -d '{"ipAddress": "${Server_IP}", "InstallCyberPanelStatus": "${1}"}' -H "Content-Type: application/json" -X POST http://cloud.cyberpanel.net:8000/servers/RecvData
curl -d {"ipAddress": "'"$Server_IP"'", "InstallCyberPanelStatus": "'"$1"'"}' -H "Content-Type: application/json" -X POST http://cloud.cyberpanel.net:8000/servers/RecvData > /dev/null
}
Branch_Check() {