diff options
| author | St33v <github@f3rr3t.com> | 2026-03-25 18:23:14 +1100 |
|---|---|---|
| committer | St33v <github@f3rr3t.com> | 2026-03-25 18:23:14 +1100 |
| commit | c132b3985e24e557549544a1d10fb0daababdfb1 (patch) | |
| tree | 03a22b64a9d0742f3313b23a6ec0acee31fbc4c9 /deploy.sh | |
| parent | 0b7ad7787794e7e0f14eb3e6ada7139fd1b47c78 (diff) | |
Update cremonde deployment and runtime checks
Diffstat (limited to 'deploy.sh')
| -rwxr-xr-x | deploy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
