nixos/fcgiwrap: limit prefork type to positives
This commit is contained in:
parent
3955eaf450
commit
289c1585c2
@ -13,7 +13,7 @@ in {
|
|||||||
default = { };
|
default = { };
|
||||||
type = types.attrsOf (types.submodule ({ config, ... }: { options = {
|
type = types.attrsOf (types.submodule ({ config, ... }: { options = {
|
||||||
process.prefork = mkOption {
|
process.prefork = mkOption {
|
||||||
type = types.int;
|
type = types.ints.positive;
|
||||||
default = 1;
|
default = 1;
|
||||||
description = "Number of processes to prefork.";
|
description = "Number of processes to prefork.";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user