Use chdir to start the daemon from a specified path