Re: start-stop-daemon ulimit

2005-03-31 Thread Carlo Contavalli
On Thu, Mar 31, 2005 at 09:11:36AM +0200, Carlo Contavalli wrote: > > [...] > as usual, I forgot the attachment. Here it is.. Cheers, Carlo -- GPG Fingerprint: 2383 7B14 4D08 53A4 2C1A CA29 9E98 5431 1A68 6975 - Old mail has arrived. diff -x con

start-stop-daemon ulimit

2005-03-31 Thread Carlo Contavalli
Hello, I've worked out a trivial patch for start-stop-daemon to enable it to set per-process ulimits before starting up daemons. It looks for a file called /etc/limits/name_of_daemon, containing something like: # This is a comment coresoft2048 corehard4096 nofile soft1