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?
Ahh... On my machine the su process does not disappear instantly, but killing its PID does not shutdown webware properly. Maybe the init script should kill the PID in appserverpid.txt instead? (This is the PID of the "python Launch.py ThreadedAppServer" process.)
Nick
------------------------------------------------------- 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
