[CentOS] Startup script issues

Tue Dec 1 14:46:25 UTC 2009
Brian Mathis <brian.mathis at gmail.com>

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
> /Rob

You could "cd" there in the script before starting it.