Fix bug: Require bootstrap file path error when running as service.