From 8eb89c2b4ec52d392580bfe5dd542539a1817516 Mon Sep 17 00:00:00 2001 From: dkoao Date: Thu, 26 Sep 2019 02:17:59 +0000 Subject: [PATCH] modifying start.sh to check if the environment variable DISABLE_NEXTCLOUD is set to 1 if it is set 1, it'll skip setting up Nextcloud --- setup/start.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup/start.sh b/setup/start.sh index 0b145022..53c1d791 100755 --- a/setup/start.sh +++ b/setup/start.sh @@ -106,7 +106,13 @@ source setup/dkim.sh source setup/spamassassin.sh source setup/web.sh source setup/webmail.sh -source setup/nextcloud.sh + +if [ "${DISABLE_NEXTCLOUD} == "1" ]; then + echo Skipping Nextcloud installation +else + source setup/nextcloud.sh +fi + source setup/zpush.sh source setup/management.sh source setup/munin.sh