aboutsummaryrefslogtreecommitdiff
path: root/bin/app-restart
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-04-20 21:44:09 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2013-04-20 21:57:36 +0200
commitcb9eea1db0715cc8c944f54e61270d25502e3163 (patch)
treecc2d07a4879cc6f1f867de04d46fbeb0da2b2e5c /bin/app-restart
parent875716dc48cd5c485d2342c9e5bb1d461bc64b6d (diff)
downloadapp.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/app-restart')
-rwxr-xr-xbin/app-restart11
1 files changed, 11 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" "$@"