Go to file
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
app wip: app/frigate: Deploy Caddy 2024-04-05 22:26:36 -05:00
base/schema/instructions base/schema: Fix instructions schema 2024-01-17 17:35:21 -06:00
cue.mod Switch from KCL to CUE 2024-01-15 11:40:58 -06:00
env prod: frigate: Fix typo in go2rtc config 2024-04-07 14:42:02 -05:00
host nvr2: Deploy collectd 2024-04-07 11:18:42 -05:00
instructions nvr2: Deploy collectd 2024-04-07 11:18:42 -05:00
scripts loki: Use fetchcert to manage server certificate 2024-02-18 11:35:13 -06:00
templates loki: Do not chcon/chown state dir at startup 2024-04-25 09:47:21 -05:00
.editorconfig Switch from KCL to CUE 2024-01-15 11:40:58 -06:00
.gitignore Initial commit 2024-01-14 19:24:55 -06:00
config.sh Remove Containerfile 2024-01-17 17:35:21 -06:00