cfg/templates
Dustin beb243d69a loki: Do not chcon/chown state dir at startup
_systemd_ automatically recursively changes the ownership of the paths
listed in `StateDirectory` when the unit is activated.  This can take a
very long time, as the Loki storage directory contains hundreds of
thousands  of files.  Since we also have `podman` change the ownership,
that *doubles* the time taken.  Similarly, with `podman` also configured
to change the SELinux label of the files in that path, even more time is
wasted at startup.

To avoid all these time wasters, we need to avoid having _systemd_
manage the state directory and create it with the proper ownership and
SELinux label manually.  Here, we're only manipulating the metadata of
the top-level directory; anything within the directory is untouched.
This ensures that the directory is always there and has the correct
permissions, but does not spend any time changing anything that doesn't
need changed.
2024-04-25 09:47:21 -05:00
..
caddy caddy: Separate out from loki app 2024-04-05 22:05:21 -05:00
collectd collectd: df: Ignore autofs mount points 2024-02-17 21:36:21 -06:00
common reload-udev-rules: Add delay before copying files 2024-02-15 10:08:52 -06:00
fetchcert fetchcert: Deploy tool to get cert from k8s Secret 2024-02-18 10:48:01 -06:00
frigate wip: app/frigate: Deploy Caddy 2024-04-05 22:26:36 -05:00
loki loki: Do not chcon/chown state dir at startup 2024-04-25 09:47:21 -05:00
nut nut: Enable Podman auto-update for containers 2024-01-19 20:10:11 -06:00
promtail promtail: Increase start timeout 2024-02-20 07:27:11 -06:00
serterm serterm: Deploy serial terminal server 2024-03-21 21:24:12 -05:00
ssh app/ssh: Configure sshd trusted user CA keys 2024-02-03 11:16:52 -06:00
sudo sudo: Configure pam_ssh_agent_auth 2024-01-29 09:10:42 -06:00