[ARVADOS-DEV] updated: 490cfac7fbe8e7baa40b4606733c5fd5d9202550
git at public.curoverse.com
git at public.curoverse.com
Mon Jan 18 17:35:46 EST 2016
Summary of changes:
arvbox/bin/arvbox | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
via 490cfac7fbe8e7baa40b4606733c5fd5d9202550 (commit)
from 7ea25909b52c699602bbb9d0b289822d6a667b0a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 490cfac7fbe8e7baa40b4606733c5fd5d9202550
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Mon Jan 18 17:35:43 2016 -0500
8080: Fix typo postgres -> postgresql data volume.
diff --git a/arvbox/bin/arvbox b/arvbox/bin/arvbox
index 82af625..a3a53e1 100755
--- a/arvbox/bin/arvbox
+++ b/arvbox/bin/arvbox
@@ -124,7 +124,7 @@ run() {
fi
if ! (docker ps -a | grep -E "$ARVBOX_CONTAINER-data$" -q) ; then
- docker create -v /var/lib/postgres -v /var/lib/arvados --name $ARVBOX_CONTAINER-data arvados/arvbox-demo /bin/true
+ docker create -v /var/lib/postgresql -v /var/lib/arvados --name $ARVBOX_CONTAINER-data arvados/arvbox-demo /bin/true
fi
docker run \
@@ -216,11 +216,13 @@ stop() {
if docker ps -a --filter "status=running" | grep -E "$ARVBOX_CONTAINER$" -q ; then
docker stop $ARVBOX_CONTAINER
fi
+
+ VOLUMES=--volumes=true
if docker ps -a --filter "status=created" | grep -E "$ARVBOX_CONTAINER$" -q ; then
- docker rm --volumes=true $ARVBOX_CONTAINER
+ docker rm $VOLUMES $ARVBOX_CONTAINER
fi
if docker ps -a --filter "status=exited" | grep -E "$ARVBOX_CONTAINER$" -q ; then
- docker rm --volumes=true $ARVBOX_CONTAINER
+ docker rm $VOLUMES $ARVBOX_CONTAINER
fi
}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list