With the baselayout 1.12.1 start-stop-daemon does not change directory despite "cd $UCCDIR". Running the script results in an error of not being able to find ucc-bin. I added "--chdir $UCCDIR --env PWD=$UCCDIR" to the start-stop-daemon call and all works better. Here is my modified start(): start() { ebegin "Starting UT2004 Dedicated Server" cd $UCCDIR start-stop-daemon --chdir $UCCDIR --env PWD=$UCCDIR --make-pidfile --start --quiet --pidfile /var/run/ucc-bin.pid --exec ucc-bin -- $OPTIONS >> /dev/null & eend $? "Failed to start UT2004 Dedicated Server" }
This is for games-server/ut2004-ded-3369
Thanks for the info... fixed in CVS