services/crowdsec-traefik-bouncer: update comment about tmpfiles
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user