summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsnap-src/bin/wekan-help4
1 files changed, 4 insertions, 0 deletions
diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help
index 14702d9a..a498b9b9 100755
--- a/snap-src/bin/wekan-help
+++ b/snap-src/bin/wekan-help
@@ -2,6 +2,10 @@
# first read settings
source $SNAP/bin/wekan-read-settings &>/dev/null
+if [ "$CADDY_ENABLED" = "true" ]; then
+ # tweak port nunmber as it has been remapped
+ export PORT=${CADDY_PORT} &>/dev/null
+fi
echo -e "Wekan: The open-source Trello-like kanban.\n"
echo -e "Make sure you have connected all interfaces, check more by calling $ snap interfaces"