Park the pre-merge droplet installer in attic/ as a rollback path

The unified services/asterisk.sh has not been run on real hardware yet, so
keep the previous services/asterisk-digital-ocean.sh available verbatim until
it has. attic/ sits outside setup.sh's services/*.sh glob, so the copy never
self-registers, never appears in the menu, and only runs if invoked directly
(it kept its own standalone bootstrap: sudo bash attic/asterisk-digital-ocean.sh).

Both scripts agree on where an existing droplet install lives
(~/docker/asterisk-digital-ocean, easy-asterisk-do containers), so moving
between them doesn't relocate anything.

attic/README.md is explicit that this is a way to get the old installer back,
not an undo button — what actually protects an existing install is --dry-run,
choosing update/cancel over fresh at the reinstall prompt, and a snapshot —
and that the copy should be deleted once the merge is confirmed, since two
copies of the same logic is the problem the merge removed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NAddJGE1G6eGaPzmScG5Vh
This commit is contained in:
Claude
2026-07-25 09:20:33 +00:00
parent e1c3203d88
commit b1e74666c6
3 changed files with 1543 additions and 0 deletions
+8
View File
@@ -56,6 +56,14 @@ Firewall — behind that one answer. Two lessons worth reusing:
silently empty on every home/LAN install as a result. Both now apply
everywhere.
The pre-merge installer is parked at `attic/asterisk-digital-ocean.sh` as a
rollback path until the unified one is confirmed on real hardware. `attic/`
is outside `setup.sh`'s `services/*.sh` glob, so nothing there registers or
runs on its own — see `attic/README.md`, including why it's a way to get the
old script back rather than an undo button. Delete it once the merge is
proven; a second copy of the same logic is what the merge existed to remove,
and fixes are deliberately not backported into it.
## Minimal Docker service template
```bash
+36
View File
@@ -0,0 +1,36 @@
# attic — frozen copies, kept deliberately out of the way
Nothing in here is part of the normal system. `setup.sh` globs
`services/*.sh`, so files parked here never self-register, never appear in the
menu, and never run unless you invoke them by hand.
## `asterisk-digital-ocean.sh`
The pre-merge droplet installer, exactly as it was before
`services/asterisk-digital-ocean.sh` was folded into `services/asterisk.sh`.
It is here as a rollback path while the unified installer is still unproven on
real hardware — not as a supported second service.
It keeps its own standalone bootstrap, so it runs on its own:
```bash
sudo bash attic/asterisk-digital-ocean.sh
```
It still targets `~/docker/asterisk-digital-ocean` and the
`easy-asterisk-do` / `easy-asterisk-do-coturn` containers, which is exactly
the layout the merged `services/asterisk.sh` detects and preserves — so the
two agree about where an existing droplet install lives, and switching back
and forth does not move anything.
**What this copy does and does not protect against.** It is a way to get the
old installer back, not an undo button. If the unified script ever makes a
change you don't want, re-running this one does not reverse it — a
droplet snapshot does. The things that actually keep an existing install safe
are, in order: running `--dry-run` first, choosing `update` (or `cancel`)
rather than `fresh` at the reinstall prompt, and having a snapshot.
**Delete this once the unified installer has been confirmed on the droplet.**
Two copies of the same logic is the exact problem the merge existed to fix,
and this one will drift the moment `services/asterisk.sh` gets a fix that
isn't backported here — which it deliberately won't be.
+1499
View File
File diff suppressed because it is too large Load Diff