Need to ensure that LOGFILE dir and PIDFILE dir exist before starting the service.