Bug#589681: Regression with jetty init script

Michele Renda mic.renda at email.it
Tue Jul 20 07:59:02 UTC 2010


Il giorno mar, 20/07/2010 alle 08.34 +0200, Torsten Werner ha scritto:
> But the init script runs
>   chown -R $JETTY_USER:adm "$LOGDIR"
> after rotatelogs.

I correct myself.

The problem is that the sudo -b option was sending the rotatelog command
in backgroud.

So, I think is enough to replace:

     - sudo -b -u $JETTY_USER $ROTATELOGS "$LOGDIR/out.log" 86400 \
     - < "$LOGDIR/out.log"
  >>>>>>>>
     + $ROTATELOGS "$LOGDIR/out.log" 86400 \
     + < "$LOGDIR/out.log" &

In this way it will run as the previous version.

Thank you
Michele Renda






More information about the pkg-java-maintainers mailing list