Daemontools question.

2010-10-06 Thread Friedrich Clausen
Hi All, I am trying to run some Java programs under daemontools and it is working quite well. Except they are running as root and I would like to make them run as www-data. I found the daemontools setuidgid program which works for well for starting up the application but then daemontools cannot

Re: Daemontools question.

2010-10-06 Thread Friedrich Clausen
On Wed, Oct 6, 2010 at 1:32 PM, Karl E. Jorgensen k...@fizzback.net wrote You may want to look into jsvc - this has some similar capabilities. For example, have a look at the init script for tomcat - this should be a good template Thanks for the information - I have already looked into jsvc

Re: Odd logcheck behaviour.

2010-04-29 Thread Friedrich Clausen
I suspect it's because you're using a relative path (./gigaspaces). You'll need the full path to it from cron which may not be in the same directory you were in. Thanks for your reply. I am using an identical copy of the file on my workstation and some excerpts from the logs. But I ran the

Odd logcheck behaviour.

2010-04-28 Thread Friedrich Clausen
Hi All, I am trying to filter out Java stack traces from a log file and thereby only send the initial exception so as to make the emails smaller. In my manual tests this works (stack traces are not in emails) but when running from cron the exceptions are not filtered out (stack traces are present