Skip to content

Make .agents/setup work in cloud containers (USER, no systemd) - #13

Merged
CasJam merged 1 commit into
mainfrom
claude/setup-user-default
Oct 7, 2026
Merged

CasJam merged 1 commit into
mainfrom
claude/setup-user-default

Conversation

@CasJam

@CasJam CasJam commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Cloud session containers don't set USER and don't run systemd, so setup failed at the PostgreSQL steps.

  • Default USER to id -un.
  • Use systemctl only when systemd is running; start the cluster with pg_ctlcluster (same pattern as the other Rails repos).

🤖 Generated with Claude Code

https://claude.ai/code/session_01EkMFKepj2UNPEtf1Y5su5A


Generated by Claude Code

…without systemd

Cloud session containers don't set USER, so set -u stopped setup at the
PostgreSQL role step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EkMFKepj2UNPEtf1Y5su5A
@CasJam
CasJam merged commit 9321433 into main Oct 7, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants