| 123456789101112131415 | #!/bin/bash# Get wekan/mongo settingssource $SNAP/bin/wekan-read-settingsif [ "$CADDY_ENABLED" = "true" ]; then    # Use Caddy 2 command format    # The 'host' option is no longer needed in Caddy 2    # The 'agree' option is no longer needed as Caddy 2 doesn't prompt for EULA    env LC_ALL=C caddy run --config $SNAP_COMMON/Caddyfileelse    echo "caddy is disabled. Service stopping disabled"    # snapctl stop --disable ${SNAP_NAME}.caddy    # sleep here, in case snapctl fails to stop service so we do not restart too oftenfi
 |