Fixed log path issue in the init script