# gitea-runner-setup.service runs /usr/libexec/gitea-runner-setup on the # console until the runner is registered, after systemd-firstboot has asked # its questions there. Logins wait for it, as for systemd-firstboot, so no # getty reads the same console. [Unit] Description=Gitea runner setup ConditionPathExists=!/var/lib/gitea-runner/.runner Wants=network-online.target After=systemd-firstboot.service network-online.target Before=systemd-user-sessions.service [Service] Type=oneshot # HOME is where gitea-runner keeps its cache, as in gitea-runner.service. Environment=HOME=/var/lib/gitea-runner ExecStart=/usr/libexec/gitea-runner-setup StandardInput=tty StandardOutput=tty [Install] WantedBy=multi-user.target