diff options
| author | St33v <github@f3rr3t.com> | 2026-06-09 17:11:47 +1000 |
|---|---|---|
| committer | St33v <github@f3rr3t.com> | 2026-06-09 17:11:47 +1000 |
| commit | 258a3bec5192106e1e24e65763649b7f6943af9e (patch) | |
| tree | 9add3f9e8579e649c8acd7be5bdf8f329e2644ce /setup.sh | |
| parent | 71a0aecb76984347292199db328142bef4807088 (diff) | |
Add Brisbane radar (IDR663) alongside Sydney
radar.service / radar-retry.service now invoke radarFetch.sh once
per product code, prefixed with `-` so one radar's outage does not
skip the other.
Landing page at / links to /sydney and /brisbane; each per-radar
page is the familiar black-page full-image idiom with a small
corner link to its sibling.
setup.sh provisions the subdirs and installs all three pages.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Diffstat (limited to 'setup.sh')
| -rwxr-xr-x | setup.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -63,13 +63,17 @@ chown "$OWNER:$OWNER" /srv/www/pestrel install -d -o "$OWNER" -g "$OWNER" /opt/radar install -d -o "$OWNER" -g "$OWNER" /var/lib/radar install -d -o "$OWNER" -g "$OWNER" /srv/www/radar +install -d -o "$OWNER" -g "$OWNER" /srv/www/radar/sydney +install -d -o "$OWNER" -g "$OWNER" /srv/www/radar/brisbane # --------------------------------------------------------------------------- # Web content # --------------------------------------------------------------------------- echo "==> Writing index.html..." install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/index.html" /srv/www/pestrel/index.html -install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.index.html" /srv/www/radar/index.html +install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.index.html" /srv/www/radar/index.html +install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.sydney.html" /srv/www/radar/sydney/index.html +install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.brisbane.html" /srv/www/radar/brisbane/index.html echo "==> Installing radarFetch.sh..." install -o "$OWNER" -g "$OWNER" -m 755 "$SCRIPT_DIR/radarFetch.sh" /opt/radar/radarFetch.sh |
