Fix a few syntax error when testing on Ubuntu. 
Also added the '--config' value to the upstart script, and redirect
logging.