I'm converting Ubuntu startup scripts to work on CentOS (5.3), and I'm having trouble finding out how to start a daemon in a certain directory? For Ubuntu, start-stop-daemon has the option -d to set the working directory. TIA /Rob
On Tue, Dec 1, 2009 at 8:02 AM, Robert Bielik <robert.bielik at xponaut.se> wrote:> I'm converting Ubuntu startup scripts to work on CentOS (5.3), and I'm having trouble finding out how > to start a daemon in a certain directory? For Ubuntu, start-stop-daemon has the option -d to set the > working directory. > > TIA > /RobYou could "cd" there in the script before starting it.