From 728b8d9f4ad4141c6f69f48d6a48956694e826ae Mon Sep 17 00:00:00 2001 From: Emilie Date: Thu, 21 Jun 2018 11:17:20 +0200 Subject: [PATCH] [Staging] : give daemon option --- staging/up.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/staging/up.sh b/staging/up.sh index d5d8b75..bd62763 100755 --- a/staging/up.sh +++ b/staging/up.sh @@ -1,3 +1,9 @@ #!/bin/sh -docker-compose -f docker-compose.yml -f env/staging.yml up +options="" + +if [ "$1" = "-d" ]; then + options=$options" -d"; +fi + +docker-compose -f docker-compose.yml -f env/staging.yml up $options -- 2.39.5