From b786bbdfb17fe1a7a703693ca89aa3e1f50c753d Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Thu, 19 Nov 2020 15:20:18 +0100
Subject: [PATCH] Change default value of NOPAQUE_DAEMON_ENABLED from False to
True
---
.env.tpl | 2 +-
web/boot.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.env.tpl b/.env.tpl
index 25884399..64a48620 100644
--- a/.env.tpl
+++ b/.env.tpl
@@ -121,7 +121,7 @@ NOPAQUE_ADMIN=
# NOPAQUE_DATA_DIR=
# CHOOSE ONE: False, True
-# DEFAULT: False
+# DEFAULT: True
# NOPAQUE_DAEMON_ENABLED=
# The hostname or IP address for the server to listen on.
diff --git a/web/boot.sh b/web/boot.sh
index 28b5013e..23edce22 100755
--- a/web/boot.sh
+++ b/web/boot.sh
@@ -2,7 +2,7 @@
source venv/bin/activate
-if [[ "${NOPAQUE_DAEMON_ENABLED}" == "True" ]]; then
+if [[ "${NOPAQUE_DAEMON_ENABLED:-True}" == "True" ]]; then
echo "INFO Starting nopaque daemon process..."
./nopaque-daemon.sh &
fi