[Unit] Description=Auto-release omarchy-pkgs for rc mirror After=network-online.target Wants=network-online.target [Service] Type=oneshot # The rc channel builds from the rc branch worktree, but publishes into the # primary checkout's channel tree via OMARCHY_REPO_ROOT. The rc branch is # rebuilt (master + pin commits) each release train and force-pushed, so this # worktree follows with a hard reset rather than a fast-forward pull. ExecStartPre=/usr/bin/git -C /root/omarchy-pkgs-rc fetch origin rc ExecStartPre=/usr/bin/git -C /root/omarchy-pkgs-rc reset --hard origin/rc ExecStart=/bin/bash -c 'source /root/.omarchy/build-credentials && /root/omarchy-pkgs-rc/bin/auto-release rc' Environment=OMARCHY_STATE_DIR=/root/.state Environment=OMARCHY_REPO_ROOT=/root/omarchy-pkgs/pkgs.omarchy.org TimeoutStartSec=7200 [Install] WantedBy=multi-user.target