8 lines
376 B
Bash
Executable File
8 lines
376 B
Bash
Executable File
#!/bin/sh -x
|
|
DOMAIN=turn.boba.best
|
|
|
|
mkdir -p data/coturn/certs
|
|
sudo cp /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/$DOMAIN/$DOMAIN.crt data/coturn/certs/
|
|
sudo cp /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/$DOMAIN/$DOMAIN.key data/coturn/certs/
|
|
sudo chown -R nobody:nogroup data/coturn/certs
|