show the full service command; do not escape the pager

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2017-11-14 16:58:53 +03:00
parent 8173828c62
commit b13b47d1c0
1 changed files with 2 additions and 2 deletions

4
ssm
View File

@ -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() {