# First boot: asks for the root password and the runner's registration on the console (tty1). [Unit] Description=Gitea runner first-boot setup ConditionPathExists=!/etc/gitea-runner/runner.env Before=getty@tty1.service kmsconvt@tty1.service [Service] Type=oneshot ExecStart=/usr/libexec/gitea-runner-setup StandardInput=tty StandardOutput=tty TTYPath=/dev/tty1 TTYReset=yes TTYVHangup=yes [Install] WantedBy=multi-user.target