Skip to content

Commit

Permalink
Merge pull request #6829 from ant-media/add-debian-support
Browse files Browse the repository at this point in the history
Add Debian support to enable_ssl.sh
  • Loading branch information
mekya authored Nov 28, 2024
2 parents a334a2b + 1f2ec03 commit 35cde84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/server/enable_ssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,12 @@ get_new_certificate(){
# install letsencrypt and get the certificate
echo "creating new certificate"
distro
if [ "$ID" == "ubuntu" ]; then
if [[ "$ID" == "ubuntu" || "$ID" == "debian" ]]; then

$SUDO apt-get update -qq -y
output

$SUDO apt-get install certbot python3-certbot-dns-route53 -qq -y
$SUDO apt-get install cron certbot python3-certbot-dns-route53 -qq -y
output

elif [ "$ID" == "centos" ] || [ "$ID" == "rocky" ] || [ "$ID" == "almalinux" ] || [ "$ID" == "rhel" ]; then
Expand Down

0 comments on commit 35cde84

Please sign in to comment.