# Daily at about 04:10, reboot into a downloaded update. Stop the runner first: it takes no new # jobs and lets running ones finish (runner.shutdown_timeout). [Service] ExecStartPre=/bin/sh -c '/usr/lib/systemd/systemd-sysupdate pending || exit 0; systemctl stop gitea-runner' TimeoutStartSec=40min