bluemap: set group to nginx only if nginx is enabled

This commit is contained in:
Vegard Bieker Matthey
2026-05-23 20:38:31 +02:00
parent eeab3b8fa6
commit e08e61d6a1

View File

@@ -376,7 +376,7 @@ in {
serviceConfig = {
Type = "oneshot";
CPUSchedulingPolicy = "batch";
Group = "nginx";
Group = lib.mkIf cfg.enableNginx "nginx";
UMask = "026";
ExecStart = [
# If web folder doesnt exist generate it