show the full service command; do not escape the pager
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
8173828c62
commit
b13b47d1c0
4
ssm
4
ssm
|
@ -276,7 +276,7 @@ info() {
|
||||||
"Name" "$service_name"
|
"Name" "$service_name"
|
||||||
"Type" "$_type"
|
"Type" "$_type"
|
||||||
"$_status_label" "$_status"
|
"$_status_label" "$_status"
|
||||||
"Exec" "$service_command ${service_args[*]}"
|
"Exec" "${service_command[*]} ${service_args[*]}"
|
||||||
"Respawn" "${service_respawn:-false}"
|
"Respawn" "${service_respawn:-false}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -315,7 +315,7 @@ restart() {
|
||||||
"$0" "$service_name" start
|
"$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 is a bit of a special case. It's talkative.
|
||||||
status() {
|
status() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user