if runsvdir is running then change service_endpoint to service