summaryrefslogtreecommitdiff
path: root/packaging/docker/catlfish-dev/start.sh
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-04-19 12:02:44 +0200
committerLinus Nordberg <linus@nordberg.se>2015-04-19 12:02:44 +0200
commit5d4d7c7cfe9f3e3c8212056b74f84a46728fe069 (patch)
tree8ccd160135fa67069ac48c239656ddfddc36374e /packaging/docker/catlfish-dev/start.sh
parent34fa11ead9475ccc5005db987472c65f7f376b55 (diff)
Add defaults for erlbase and database in docker start file.
Diffstat (limited to 'packaging/docker/catlfish-dev/start.sh')
-rwxr-xr-xpackaging/docker/catlfish-dev/start.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/docker/catlfish-dev/start.sh b/packaging/docker/catlfish-dev/start.sh
index d39205c..b37c829 100755
--- a/packaging/docker/catlfish-dev/start.sh
+++ b/packaging/docker/catlfish-dev/start.sh
@@ -4,6 +4,9 @@ role=$1; [ -n "$1" ] && shift
erlbase=$1; [ -n "$1" ] && shift
database=$1; [ -n "$1" ] && shift
+[ -z "$erlbase" ] && erlbase=/usr/local/catlfish
+[ -z "$database" ] && database=/var/db/catlfish-merge
+
case $role in
frontend|storage|signing)
$erlbase/bin/run_erl \