summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy.sh b/deploy.sh
index bb1badb..36d50e9 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -1,14 +1,14 @@
#!/bin/bash
set -euo pipefail
-REMOTE=st33v@pestrel.com
+REMOTE=st33v@cremonde
PORT=40022
echo "Deploying synopticChart.sh to ${REMOTE}..."
scp -P "$PORT" synopticChart.sh "${REMOTE}:/opt/synoptic/synopticChart.sh"
echo "Restarting synoptic.service..."
-if ssh -p "$PORT" "$REMOTE" "sudo systemctl restart synoptic.service"; then
+if ssh -t -p "$PORT" "$REMOTE" "sudo systemctl restart synoptic.service"; then
echo "SUCCESS: synoptic.service ran cleanly."
else
echo "FAILURE: synoptic.service exited non-zero." >&2