summaryrefslogtreecommitdiffstats
path: root/snap-src
diff options
context:
space:
mode:
authorOndrej Kubik <ondrej.kubik@canonical.com>2017-12-06 17:59:44 +0000
committerOndrej Kubik <ondrej.kubik@canonical.com>2018-02-21 22:29:24 +0000
commit9966c19f949824e7d82ac25dae72e4bd03975a9d (patch)
tree5a131d6408c91ab5cc2ac8d07da55133370da678 /snap-src
parentff320f7b3a40072de641dcdcab935c69f6f8584a (diff)
downloadwekan-9966c19f949824e7d82ac25dae72e4bd03975a9d.tar.gz
wekan-9966c19f949824e7d82ac25dae72e4bd03975a9d.tar.bz2
wekan-9966c19f949824e7d82ac25dae72e4bd03975a9d.zip
Fixing wrong caddy file path
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
Diffstat (limited to 'snap-src')
-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