mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-05-24 23:31:12 +02:00
bluemap: set group to nginx only if nginx is enabled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user