Skip to content

prep-airdrop.sh doesn't copy new templates (vpn-monitor, pia-monitor) #64

@smartwatermelon

Description

@smartwatermelon

Problem

prep-airdrop.sh copies template files individually by name. Two templates added in recent PRs are missing from the copy list:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions