On Sunday, Dec 14, 2003, at 23:18 US/Central, Hollis Blanchard wrote:

+ su -s /bin/sh -c "$LAUNCH" $WEBKIT_USER >> $LOG 2>&1 &

Unfortunately the su causes $! to return a PID for the su process, which disappears instantly. So writing it to /var/run/webkit.pid later in the init script is worthless; what we really want is the PID of $LAUNCH. I guess the trailing & needs to be moved, but I can't figure it out right now. Anyone else?


Note that an su command was already present in the script, though commented out. I seem to recall that not working either when I tried it.

-Hollis



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to