Explorar el Código

Removing pushjet for now as more complex

Could return to this if there is demand
Daniel Gibbs hace 8 años
padre
commit
2e8feaedcb
Se han modificado 1 ficheros con 0 adiciones y 21 borrados
  1. 0 21
      lgsm/functions/alert_pushjet.sh

+ 0 - 21
lgsm/functions/alert_pushjet.sh

@@ -1,21 +0,0 @@
-#!/bin/bash
-# LinuxGSM alert_pushjet.sh function
-# Author: Daniel Gibbs
-# Website: https://gameservermanagers.com
-# Description: Sends Pushjet alert.
-
-local commandname="ALERT"
-local commandaction="Alert"
-local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
-
-json=$(cat <<EOF
-{
-	"secret": "${pushjettoken}",
-	"level": "5",
-	"message": "all",
-	"link": "https://gameservermanagers.com"
-}
-EOF
-)
-
-curl -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://api.pushover.net/1/messages.json"