services/crowdsec-traefik-bouncer: update comment about tmpfiles

This commit is contained in:
2025-10-18 14:40:50 -07:00
parent 111506f08c
commit 1ad5628ee9

View File

@@ -35,13 +35,11 @@ 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 -"
"d ${config.services.traefik.dataDir}/plugins-storage/sources 0750 traefik traefik -"
];
};
# Create plugins directory, otherwise traefik will error out
systemd.tmpfiles.rules = [
"d ${config.services.traefik.dataDir}/plugins-storage 0750 traefik traefik -"
"d ${config.services.traefik.dataDir}/plugins-storage/sources 0750 traefik traefik -"
];
services.traefik = {
staticConfigOptions = {