add endpoint mode in service pretty Upstream-commit: c505486bb195a3a413bacff7cfdee8d6931d529f Component: engine
run --link