# The root password. /etc is read-only, so gitea-runner-setup writes the shadow file to /var and # this mounts it over /etc/shadow. [Unit] Description=Root password from /var ConditionPathExists=/var/lib/shadow/etc/shadow RequiresMountsFor=/var [Mount] What=/var/lib/shadow/etc/shadow Where=/etc/shadow Options=bind [Install] WantedBy=local-fs.target