mathopd  

Re: logging to /dev/stdout (was: Re: shell script for checking and starting?)

Dmitry Volkoff
Sun, 14 Dec 2003 21:36:32 -0800

On Sun, Dec 14, 2003 at 10:31:39PM -0500, Frank Tobin wrote:
> Before you actually run mathopd, have the starting shell script run
> "chown www `readlink -f /dev/stdout`".  I'm not sure if a new link will be
> created when the shell forks to run mathopd, but if it is, simply call
> mathopd with the shell's "exec", so a new process is not created.

No, this doesn't work. ``chown www `readlink -f /dev/stdout`'' doesn't
change ownership of /dev/stdout on Linux. And yes, I exec mathopd in the
shell script. Still have problems with permissions.

-- 
    DV