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 Karl E. Jorgensen
On Wed, 2010-10-06 at 12:29 +0200, Friedrich Clausen wrote: 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

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