Automatic welcome email on signup and a single 48h-later nudge to import code if the account still has zero repos, via the shared OCI relay (team@go.rithub.dev, reply-to rithub@hi.ereboslab.com). Idempotent local state file, skips test/agent/mail.tm/qa accounts, one-line opt-out. systemd timer every 15 min on railyard-box (/opt/railyard/rithub-lifecycle), seeded so pre-existing accounts are never retroactively "welcomed". Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
13 lines
438 B
Desktop File
13 lines
438 B
Desktop File
# Rithub lifecycle mail: welcome new signups, nudge ~48h-old 0-repo accounts
|
|
# to bring their code over. Config: /etc/products/rithub-lifecycle.env.
|
|
# Installed by apps/rithub-lifecycle/install.sh.
|
|
[Unit]
|
|
Description=Rithub welcome + 48h bring-your-code nudge mail
|
|
After=network-online.target docker.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/python3 /opt/railyard/rithub-lifecycle/rithub-lifecycle.py
|
|
TimeoutStartSec=2min
|
|
Nice=5
|