From 508321196bb55f7d2dd09f27c2a1b90cfe1b0e18 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Thu, 25 Feb 2016 11:12:00 -0500 Subject: [PATCH] Generalize arvbox 'svrestart' to 'sv' no issue # --- bin/arvbox | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/arvbox b/bin/arvbox index 7be361b878..d790cb6b9f 100755 --- a/bin/arvbox +++ b/bin/arvbox @@ -358,10 +358,9 @@ case "$subcmd" in fi ;; - svrestart) + sv) if test -n "$1" ; then - docker exec -ti $ARVBOX_CONTAINER sv restart "$1" - docker exec -ti $ARVBOX_CONTAINER sv restart ready + docker exec -ti $ARVBOX_CONTAINER sv "$1" "$2" else echo "Usage: $0 $subcmd " echo "Available services:" @@ -397,7 +396,7 @@ case "$subcmd" in echo "reset delete arvbox arvados data (be careful!)" echo "destroy delete all arvbox code and data (be careful!)" echo "log tail log of specified service" - echo "svrestart restart specified service inside arvbox" + echo "sv change state of service inside arvbox" echo "clone clone an arvbox" ;; esac -- 2.30.2