diff options
Diffstat (limited to 'packages/base/src/files')
-rw-r--r-- | packages/base/src/files/bin/policy.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/base/src/files/bin/policy.sh b/packages/base/src/files/bin/policy.sh index a7500947a..315b3e963 100644 --- a/packages/base/src/files/bin/policy.sh +++ b/packages/base/src/files/bin/policy.sh @@ -108,6 +108,10 @@ function policy_status() { component_status console fi + if check_x_file "${POLICY_HOME}/etc/init.d/elk"; then + component_status elk + fi + if check_x_file "${POLICY_HOME}/etc/init.d/brmsgw"; then component_status brmsgw fi @@ -147,6 +151,10 @@ function policy_start() { component_start console fi + if check_x_file "${POLICY_HOME}/etc/init.d/elk"; then + component_start elk + fi + if check_x_file "${POLICY_HOME}/etc/init.d/brmsgw"; then component_start brmsgw fi @@ -188,6 +196,10 @@ function policy_stop() { component_stop console fi + if check_x_file "${POLICY_HOME}/etc/init.d/elk"; then + component_stop elk + fi + if check_x_file "${POLICY_HOME}/etc/init.d/configs"; then component_stop configs fi |