init 425 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. CERTS_DIR="${SNAP_DATA}/certs"
  3. SSL_DIR="${SNAP_DATA}/.ssl"
  4. UUID_FILE="${SNAP_DATA}/.install-id"
  5. if ! [[ -f "${UUID_FILE}" ]]; then
  6. logger "Generate UUID for ${SNAP_NAME}"
  7. uuid > "${UUID_FILE}"
  8. logger "${SNAP_NAME} (uuid: `cat ${UUID_FILE}`)"
  9. fi
  10. UUID=`cat ${UUID_FILE}`
  11. logger "${SNAP_NAME} does not support ACME.sh anymore. Please look into using Lets Encrypt or a proxy for SSL support."