-
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Problem
prep-airdrop.sh copies template files individually by name. Two templates added in recent PRs are missing from the copy list:
vpn-monitor.sh(PR feat(vpn): VPN kill-switch, monitor, and auto-update infrastructure #57)pia-split-tunnel-monitor.sh(PR feat(vpn): add PIA split tunnel config watchdog (Stage 1.5) #63)
This means the deployment package built by prep-airdrop.sh won't include these templates, and transmission-setup.sh will log warnings about missing templates when run on the target server.
Proposed Fix
Replace the individual copy_with_manifest calls for templates with a glob-based loop, matching the pattern already used for server scripts and app-setup scripts. This prevents future templates from being silently omitted.
Key decisions
- OPTIONAL for all templates: app-setup scripts handle missing templates gracefully (log warning, skip)
- Skip
transmission-done-template.sh: source file, not a deployable template chmod +x: match the server scripts pattern
Context
This was discovered during the Stage 1.5 (PIA monitor) work. The monitor was deployed manually via SCP for the initial deployment, but the next prep-airdrop.sh run will miss both monitor templates.
Files
| File | Change |
|---|---|
prep-airdrop.sh |
Replace individual template copies (lines ~787-794) with glob loop |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels