diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-04-20 21:44:09 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-04-20 21:57:36 +0200 |
commit | cb9eea1db0715cc8c944f54e61270d25502e3163 (patch) | |
tree | cc2d07a4879cc6f1f867de04d46fbeb0da2b2e5c /bin | |
parent | 875716dc48cd5c485d2342c9e5bb1d461bc64b6d (diff) | |
download | app.sh-cb9eea1db0715cc8c944f54e61270d25502e3163.tar.gz app.sh-cb9eea1db0715cc8c944f54e61270d25502e3163.tar.bz2 app.sh-cb9eea1db0715cc8c944f54e61270d25502e3163.tar.xz app.sh-cb9eea1db0715cc8c944f54e61270d25502e3163.zip |
o Exposing 'status' and 'restart' commands again.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/app-restart | 11 | ||||
-rwxr-xr-x | bin/app-status | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/bin/app-restart b/bin/app-restart new file mode 100755 index 0000000..768aea0 --- /dev/null +++ b/bin/app-restart @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e +set -u + +APPSH_HOME=$(cd $(dirname "$0")/.. && pwd) + +. $APPSH_HOME/lib/common +# HEADER END + +exec $APPSH_HOME/libexec/app-operate "restart" "$@" diff --git a/bin/app-status b/bin/app-status new file mode 100755 index 0000000..e36e1d6 --- /dev/null +++ b/bin/app-status @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e +set -u + +APPSH_HOME=$(cd $(dirname "$0")/.. && pwd) + +. $APPSH_HOME/lib/common +# HEADER END + +exec $APPSH_HOME/libexec/app-operate "status" "$@" |