Java Mailing List Archive

http://www.redhatconfig.com/

Home » Mandriva Cooker »

Re: [Cooker] Re: [cooker-commits] [svn-commit] r230954 - in cooker/tor/current: SPECS

Pixel

2008-07-03

Replies: Find Java Web Hosting

Author LoginPost Reply
Michael Scherer <misc@(protected):

> Le jeudi 03 juillet 2008 à 14:56 +0200, Pixel a écrit :
>> misc <svn-commit@(protected):
>>
>> > - add a config file in /etc/sysconfig/tor, so the user
>> > can cleanly raise the limit of opened file with ulimit -n with touching
>> > to initscript.
>>
>> [...]
>>
>> i'd say /etc/sysconfig/* should be configuration only, ie should not
>> launch commands.
>>
>> of course, there's nothing enforcing this rule, and users can do
>> whatever they want, but it would be best to keep this rule.
>
> So what should a admin use if he want to raise limit for a service,
> without modifying the initscript ?

maybe we could have a generic solution?

otherwise, tor.sysconfig could be:

#MAX_OPEN_FILES=2048

and modify init.d/tor to handle this var
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.