custom login.conf settings for multiple daemons with _one_ config line?

2015-06-16 Thread nusenu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, I'm running multiple instances of a daemon (tor). I'd like to adjust the openfiles-max limit for all of these tor instance s. 1) I changed the _tor user's login class to tordaemon # userinfo _tor login _tor passwd * uid

Re: custom login.conf settings for multiple daemons with _one_ config line?

2015-06-16 Thread Antoine Jacoutot
On Tue, Jun 16, 2015 at 02:22:09PM +, nusenu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, I'm running multiple instances of a daemon (tor). I'd like to adjust the openfiles-max limit for all of these tor instance s. 1) I changed the _tor user's login class to

Re: custom login.conf settings for multiple daemons with _one_ config line?

2015-06-16 Thread nusenu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 tordaemon::openfiles-max=13500::tc=daemon: That does not do what I was aiming for. Having a login.conf line per tor instance matching the rc.d script name works, but is there also a way to achieve that with a single line as well? Well...

Re: custom login.conf settings for multiple daemons with _one_ config line?

2015-06-16 Thread Antoine Jacoutot
Thanks for your fast answers. Actually I don't have homemade rc.d scripts, they are just symbolic links to the one from the package. So I'll go with the 'one login.conf line per daemon' solution then (not to bad either). That is definitely the preferred and supported way :-) -- Antoine