[Unit] Description=teabot - Gitea watcher dispatching one-shot Claude Code sessions Documentation=https://git.unkin.net/unkin/teabot After=network-online.target Wants=network-online.target [Service] Type=simple # Run in the foreground; teabot logs to stderr which the journal captures. ExecStart=/usr/bin/teabot run Restart=on-failure RestartSec=10 # teabot shells out to docker; keep the user's environment (PATH, DOCKER_HOST). Environment=XDG_CONFIG_HOME=%h/.config Environment=XDG_STATE_HOME=%h/.local/state [Install] WantedBy=default.target