I keep getting this error, but I don't know why
certbot_1 | /root/certbot/run-certbot.sh: line 2: $'
': command not found
certbot_1 | usage:
certbot_1 | certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
certbot_1 |
certbot_1 | Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
certbot_1 | it will attempt to use a webserver both for obtaining and installing the
certbot_1 | certificate.
certbot_1 | certbot: error: unrecognized arguments: --text
certbot_1 | /root/certbot/run-certbot.sh: line 4: $'r': command not found
my run-certbot.sh file is
#!/bin/bash
letsencrypt certonly --webroot -w /var/www/letsencrypt -d "$CN" -d "om.$CN" -d "admin.$CN" -d "www.$CN" --agree-tos --email "$EMAIL" --non-interactive --text
cp /etc/letsencrypt/live/"$CN"/fullchain.pem /var/certs/"$CN"-cert.pem
cp /etc/letsencrypt/live/"$CN"/privkey.pem /var/certs/"$CN"-privkey.pem
Can you give me some advice?
window10 / laravel / laradock