d72012fceb
The mirror-update server uses /var/run/reprepro to stash reprepro flock files. We do that to ensure that we don't have stale locks after a reboot bceause /var/run is cleaned on reboot. Problem is we rely on daily ansible runs to recreate this dir which means that after a reboot we can wait up to 24 hours before we get reprepro mirroring again. Fix this via the use of tmpfiles.d which instructs systemd to create the dir for us on boot. We specifically note (via the !) that this directory should only be created on boot and we set the age value to - to prevent systemd from deleting this directory. Change-Id: I68e49475c54e756ce5a6933390dbe13ace976c29 |
||
---|---|---|
.. | ||
files | ||
tasks | ||
README.rst |
reprepo
Install reprepo configuration for configuring various repositories.
Note that this role is only intended to be called from the
mirror-update
role.