summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsnap-src/bin/caddy-control2
1 files changed, 1 insertions, 1 deletions
diff --git a/snap-src/bin/caddy-control b/snap-src/bin/caddy-control
index c6a4f0d4..92ce70ba 100755
--- a/snap-src/bin/caddy-control
+++ b/snap-src/bin/caddy-control
@@ -4,7 +4,7 @@
source $SNAP/bin/wekan-read-settings
if [ "$CADDY_ENABLED" = "true" ]; then
- env LC_ALL=C caddy -conf=$SNAP_DATA/Caddyfile -host=localhost:${CADDY_PORT}
+ env LC_ALL=C caddy -conf=$SNAP_COMMON/Caddyfile -host=localhost:${CADDY_PORT}
else
snapctl stop caddy-service 2>&1 || true
# sleep here, in case snapctl fails to stop service so we do not restart too often