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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org