show the full service command; do not escape the pager

Signed-off-by: fbt <fbt@fleshless.org>
此提交包含在:
2017-11-14 16:58:53 +03:00
父節點 8173828c62
當前提交 3303c778c0

4
ssm
查看文件

@@ -276,7 +276,7 @@ info() {
"Name" "$service_name"
"Type" "$_type"
"$_status_label" "$_status"
"Exec" "$service_command ${service_args[*]}"
"Exec" "${service_command[*]} ${service_args[*]}"
"Respawn" "${service_respawn:-false}"
)
@@ -315,7 +315,7 @@ restart() {
"$0" "$service_name" start
}
logs() { "${PAGER:-less}" "$service_logfile"; }
logs() { ${PAGER:-less} "$service_logfile"; }
## Status is a bit of a special case. It's talkative.
status() {