----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Roland Becker wrote:
> 
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> Stefan Mainz wrote:
> > Roland Becker wrote:
> > >
> >
> > >     if test -x $JAVABIN
> > >     then
> > >       nohup su -c "$JAVABIN -classpath $JSERVCLASSPATH
> $JAVABINPARAMETERS
> >                 ^
> >                 Propably you missed a $JSERVUSER here
> > > org.apache.jserv.JServ $JSERVPROPERTIES" $JSERVUSER>>$JSERVLOG&
> > >     else
> > >       echo "Can't execute $JAVABIN"
> > >     fi
> > >     ;;
> > >
> > >   'stop')
> > >     # Stop JServ
> > >       su -c "$JAVABIN -classpath $JSERVCLASSPATH $JAVABINPARAMETERS
> >            ^
> >            Propably you missed a $JSERVUSER here
> >
> > Stefan
> 
> I don't think so (I mean it's working as it should in my configuration), but
> you have to put
> 
>       nohup su -c "$JAVABIN -classpath $JSERVCLASSPATH $JAVABINPARAMETERS
> org.apache.jserv.JServ $JSERVPROPERTIES" $JSERVUSER>>$JSERVLOG&
> 
> all in ONE line of the script as well as this:

I know, i did not even use this script, but have my own. I was just
wondering
what the variable $JSERVUSER was used for. If it works as it is, jserv
is running 
as root (or whoever starts the script). I donīt know if this was
intended.

Stefan


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to