Only restart nginx when enabled
This commit is contained in:
parent
983f5687ae
commit
992c4b67d6
|
@ -128,7 +128,7 @@ lib.mkMerge [
|
|||
extraArgs = [ "--link" ]
|
||||
++ lib.optional (config ? microvm) "--jobs=${toString config.microvm.vcpu}";
|
||||
newPackage = pkgs.postgresql_15;
|
||||
stopServices = [ "nginx" ]
|
||||
stopServices = lib.optional config.services.nginx.enable "nginx"
|
||||
++ lib.optional config.c3d2.hq.statistics.enable "collectd";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue