mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2025-01-27 10:30:34 +05:00
Add quota-status memory limit
This commit is contained in:
parent
4a5eb4baea
commit
87ffaad9a3
@ -468,6 +468,14 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
quotaStatusMemoryLimit = mkOption {
|
||||||
|
type = types.int;
|
||||||
|
default = 256;
|
||||||
|
description = ''
|
||||||
|
The memory limit for the quota-status service, in megabytes.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
extraVirtualAliases = mkOption {
|
extraVirtualAliases = mkOption {
|
||||||
type = let
|
type = let
|
||||||
loginAccount = mkOptionType {
|
loginAccount = mkOptionType {
|
||||||
|
@ -294,6 +294,10 @@ in
|
|||||||
vsz_limit = ${builtins.toString cfg.lmtpMemoryLimit} MB
|
vsz_limit = ${builtins.toString cfg.lmtpMemoryLimit} MB
|
||||||
}
|
}
|
||||||
|
|
||||||
|
service quota-status {
|
||||||
|
vsz_limit = ${builtins.toString cfg.quotaStatusMemoryLimit} MB
|
||||||
|
}
|
||||||
|
|
||||||
recipient_delimiter = ${cfg.recipientDelimiter}
|
recipient_delimiter = ${cfg.recipientDelimiter}
|
||||||
lmtp_save_to_detail_mailbox = ${cfg.lmtpSaveToDetailMailbox}
|
lmtp_save_to_detail_mailbox = ${cfg.lmtpSaveToDetailMailbox}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user