aboutsummaryrefslogtreecommitdiff
path: root/.app/lib/app-operate
diff options
context:
space:
mode:
Diffstat (limited to '.app/lib/app-operate')
-rw-r--r--.app/lib/app-operate7
1 files changed, 4 insertions, 3 deletions
diff --git a/.app/lib/app-operate b/.app/lib/app-operate
index d2f3a00..7789939 100644
--- a/.app/lib/app-operate
+++ b/.app/lib/app-operate
@@ -27,7 +27,7 @@ run_control() {
if [ -z "$bin" ]
then
- bin=$BASEDIR/.app/lib/pid-method
+ bin=$APPSH_HOME/.app/lib/pid-method
fi
if [ ! -x "$bin" ]
@@ -45,6 +45,7 @@ run_control() {
$e \
APPSH_METHOD=$method \
APPSH_BASEDIR=$BASEDIR \
+ APPSH_HOME=$APPSH_HOME \
APPSH_NAME=$name \
APPSH_INSTANCE=$instance \
$bin
@@ -54,10 +55,10 @@ run_control() {
case $ret in
0)
- echo "Application ${method}ed"
+ echo "Method ${method} completed successfully for $name/$instance"
;;
*)
- echo "Error ${method}ing $name/$instance"
+ echo "Error running method ${method} for $name/$instance"
;;
esac
)