added shutdown as extra command

This commit is contained in:
2024-12-21 15:34:30 +01:00
parent b2c60a7ace
commit 30960779d7

View File

@@ -29,3 +29,4 @@ curl -s -X POST "$NTFY_URL" \
# Server herunterfahren # Server herunterfahren
sshpass -p "$SSH_PASSWORD" ssh -o "StrictHostKeyChecking=no" "$SSH_USER@$SSH_HOST" "poweroff" sshpass -p "$SSH_PASSWORD" ssh -o "StrictHostKeyChecking=no" "$SSH_USER@$SSH_HOST" "poweroff"
sshpass -p "$SSH_PASSWORD" ssh -o "StrictHostKeyChecking=no" "$SSH_USER@$SSH_HOST" "shutdown"