summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun.sh5
-rwxr-xr-xsetup.sh4
2 files changed, 8 insertions, 1 deletions
diff --git a/run.sh b/run.sh
new file mode 100755
index 0000000..ed21180
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env sh
+
+set -eu
+
+docker-compose -f $1 up -d
diff --git a/setup.sh b/setup.sh
index cc0f550..7fb4cd5 100755
--- a/setup.sh
+++ b/setup.sh
@@ -120,7 +120,7 @@ run_now=${run_now:-"y"}
if [ $run_now == "y" ]; then
echo "Running the server..."
echo "This is going to take a while..."
- docker-compose -f $filename up -d
+ ./run.sh $filename
else
echo "Perfect! You can run the server later using the following command:"
echo ""
@@ -135,6 +135,8 @@ fi
# Cleaning up...
# ============================================================================================
+cp setup.sh $install_location
+
printf "\033c"
echo "========================================================"