mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2025-01-26 10:00: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 {
|
||||
type = let
|
||||
loginAccount = mkOptionType {
|
||||
|
@ -294,6 +294,10 @@ in
|
||||
vsz_limit = ${builtins.toString cfg.lmtpMemoryLimit} MB
|
||||
}
|
||||
|
||||
service quota-status {
|
||||
vsz_limit = ${builtins.toString cfg.quotaStatusMemoryLimit} MB
|
||||
}
|
||||
|
||||
recipient_delimiter = ${cfg.recipientDelimiter}
|
||||
lmtp_save_to_detail_mailbox = ${cfg.lmtpSaveToDetailMailbox}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user