mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Fixing wrong caddy file path
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
This commit is contained in:
parent
ff320f7b3a
commit
9966c19f94
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue