We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 225260f commit c4e1637Copy full SHA for c4e1637
server/scripts/letsencrypt_renew_hook.sh
@@ -17,10 +17,9 @@ if [ -e "/usr/local/ispconfig/server/conf-custom/scripts/letsencrypt_renew_hook.
17
fi
18
19
hostname=$(hostname -f)
20
-acme=$(which /usr/local/ispconfig/server/scripts/acme.sh /root/.acme.sh/acme.sh)
21
-if [ -e "/usr/local/ispconfig/server/scripts/${hostname}" ] ; then
+if [ -d "/usr/local/ispconfig/server/scripts/${hostname}" ] ; then
22
lelive="/usr/local/ispconfig/server/scripts/${hostname}" ;
23
-elif [ -e "/root/.acme.sh/${hostname}" ] ; then
+elif [ -d "/root/.acme.sh/${hostname}" ] ; then
24
lelive="/root/.acme.sh/${hostname}" ;
25
else
26
lelive="/etc/letsencrypt/live/${hostname}" ;
0 commit comments