work on nginx init script.