forked from norman/fusionpbx-install.sh-github-mirror
Update letsencrypt.sh
This commit is contained in:
15
debian/resources/letsencrypt.sh
vendored
15
debian/resources/letsencrypt.sh
vendored
@@ -44,13 +44,11 @@ fi
|
|||||||
|
|
||||||
#manual dns hook
|
#manual dns hook
|
||||||
if [ .$wilcard_domain = ."true" ]; then
|
if [ .$wilcard_domain = ."true" ]; then
|
||||||
if [ ! -f /etc/dehydrated/hook.sh]; then
|
cd /usr/src
|
||||||
cd /usr/src
|
git clone https://github.com/owhen/dns-01-manual.git
|
||||||
git clone https://github.com/owhen/dns-01-manual.git
|
cd /usr/src/dns-01-manual/
|
||||||
cd /usr/src/dns-01-manual/
|
cp hook.sh /etc/dehydrated/hook.sh
|
||||||
cp hook.sh /etc/dehydrated/hook.sh
|
chmod 755 /etc/dehydrated/hook.sh
|
||||||
chmod 755 /etc/dehydrated/hook.sh
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#copy config and hook.sh into /etc/dehydrated
|
#copy config and hook.sh into /etc/dehydrated
|
||||||
@@ -125,4 +123,5 @@ if [ .$switch_tls = ."true" ]; then
|
|||||||
|
|
||||||
#set the permissions
|
#set the permissions
|
||||||
chown -R www-data:www-data /etc/freeswitch/tls
|
chown -R www-data:www-data /etc/freeswitch/tls
|
||||||
fi
|
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user