services/crowdsec-traefik-bouncer: create directory for plugins storage

This commit is contained in:
2025-10-18 14:31:55 -07:00
parent 45f4e1af44
commit bbb6fc8059

View File

@@ -35,6 +35,13 @@ in
};
config = mkIf (cfg.enable && config.services.traefik.enable) {
# Create log dir for access logs, then allow traefik to access them
systemd = {
tmpfiles.rules = [
"d ${config.services.traefik.dataDir}/plugins-storage 0750 traefik traefik -"
];
};
services.traefik = {
staticConfigOptions = {
experimental = {