perfect, thats what i looked for!

thanks,
peter

On 01/06/2015 02:55 PM, Bjørn Forsman wrote:
> On 6 January 2015 at 04:13, [email protected]
> <[email protected]> wrote:
>> Hey,
>>
>> i did search through the options but could not find anything. did i miss
>> something? i also cant find /etc/security/limits.d/ on my system
>>
>> i want to set the ulimits in nix style.
>> for example ejabberd user open files 65536
>>
>> security.ulimits = {
>>    ejabberd = {
>>      soft = {
>>        nofile = 65536;
>>        nproc = 65536;
>>      };
>>      hard = {
>>        nofile = 65536;
>>        nproc = 65536;
>>      };
>>    };
>> };
> There is a security.pam.loginLimits option. Does that suit your need?
>
> Best regards,
> Bjørn Forsman

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to