[ARVADOS-DEV] updated: c6a7ecdcb77ae6808a62e42b8e42fdc8d9af52ad

git at public.curoverse.com git at public.curoverse.com
Tue Jan 5 16:03:44 EST 2016


Summary of changes:
 arvbox/lib/arvbox/docker/service/api/run-service | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  c6a7ecdcb77ae6808a62e42b8e42fdc8d9af52ad (commit)
      from  859f5ca6abf7198d2fa3c51f16ecd372cd30fc69 (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 c6a7ecdcb77ae6808a62e42b8e42fdc8d9af52ad
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Tue Jan 5 16:03:39 2016 -0500

    8080: Touch api_user_setup

diff --git a/arvbox/lib/arvbox/docker/service/api/run-service b/arvbox/lib/arvbox/docker/service/api/run-service
index da2dc16..56988fe 100755
--- a/arvbox/lib/arvbox/docker/service/api/run-service
+++ b/arvbox/lib/arvbox/docker/service/api/run-service
@@ -55,9 +55,10 @@ if ! test -f /var/lib/arvados/api_database_pw ; then
 fi
 database_pw=$(cat /var/lib/arvados/api_database_pw)
 
-if ! test -f /var/lib/arvados/api_database_setup ; then
+if ! test -f /var/lib/arvados/api_user_setup ; then
    psql -c "create user arvados with password '$database_pw'"
    psql -c "ALTER USER arvados CREATEDB;"
+   touch /var/lib/arvados/api_user_setup
 fi
 
 cat >config/database.yml <<EOF

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list