disconnect-slot-certs 251 B

1234567891011
  1. #!/usr/bin/env bash
  2. source "${SNAP}/init"
  3. logger "Disconnect ${SNAP_NAME}:certs (uuid: ${UUID})"
  4. logger "TODO: Remove certificate?"
  5. logger "TODO: Remove GPG-key?"
  6. logger "TODO: Restart HASS?"
  7. rm -rf "${SSL_DIR}"
  8. snapctl restart "${SNAP_NAME}.hass"