summaryrefslogtreecommitdiff
path: root/claude
AgeCommit message (Collapse)AuthorLines
12 dayshetzner-admin: stop/start individual services, shown as STOPPED on status pageyyamashita-1/+5
- run-command.sh: services / stop <name> / start <name> for app and infra stacks (not caddy, hetzner-admin, status). Stopped names go to status/stopped.txt (gitignored). - status: a stopped service that does not respond is STOPPED (gray), excluded from uptime and DOWN alerts. If it responds it is UP as usual. - Infra deploy.sh skips stopped stacks; app repo pushes clear the flag. - claude-code@.service: Restart=on-failure, and restart-sessions.sh restarts one unit at a time, to avoid the tmux "server exited unexpectedly" race. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N5eS3U54gzjRXzm65Np1RS
12 daysAdd status pages, ntfy alerts, and license-slot-checker repoyyamashita-0/+1
- status/: lightweight status checker (status.yyamashita.com, /api/status) with ntfy DOWN/recovered alerts after consecutive failures - uptime-kuma/: Uptime Kuma at uptime.yyamashita.com - hetzner-admin: authenticated /status page (status-app results + docker ps -a) - ntfy/: self-hosted ntfy at ntfy.yyamashita.com (deny-all auth, install.sh creates admin user and status-app token) - Caddyfile, DNS, post-receive hook, tests/check.sh, docs updated - license-slot-checker: add to repos.txt, hook, and Claude sessions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-07-11Fix ExecStop failure when tmux session has already exitedyyamashita-1/+1
The `-` prefix tells systemd to ignore the exit code of tmux kill-session, so restart succeeds even when the claude process has crashed and the session no longer exists. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-20Add Restart Claude Sessions command to hetzner-adminyyamashita-0/+6
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19Add microblog repo and Claude sessionyyamashita-0/+1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10Add mosquitone-admin repo and Claude sessionyyamashita-0/+1
Register mosquitone-admin as a managed git repo with post-receive checkout hook, and add yyamashita:mosquitone-admin to the Claude Code session list. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Add README.md to each directoryyyamashita-0/+19
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Reorganize repo into caddy/, git/, claude/ directoriesyyamashita-0/+89
- caddy/: Caddyfile, docker-compose.yml, deploy.sh (hook runs this only) - git/: repos.txt, hooks/*/post-receive, install.sh, server-setup.sh - claude/: sessions.txt, systemd/claude-code@.service, sync.sh Post-receive hook is now: checkout + bash caddy/deploy.sh Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>