Update letsencrypt.sh

This commit is contained in:
FusionPBX 2018-08-02 12:46:32 -06:00 committed by GitHub
parent 42302131a4
commit ae618f952a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 8 deletions

View File

@ -44,13 +44,11 @@ fi
#manual dns hook
if [ .$wilcard_domain = ."true" ]; then
if [ ! -f /etc/dehydrated/hook.sh]; then
cd /usr/src
git clone https://github.com/owhen/dns-01-manual.git
cd /usr/src/dns-01-manual/
cp hook.sh /etc/dehydrated/hook.sh
chmod 755 /etc/dehydrated/hook.sh
fi
cd /usr/src
git clone https://github.com/owhen/dns-01-manual.git
cd /usr/src/dns-01-manual/
cp hook.sh /etc/dehydrated/hook.sh
chmod 755 /etc/dehydrated/hook.sh
fi
#copy config and hook.sh into /etc/dehydrated
@ -125,4 +123,5 @@ if [ .$switch_tls = ."true" ]; then
#set the permissions
chown -R www-data:www-data /etc/freeswitch/tls
fi
fi