Fix for issue 232, letsencrypt cert generation fails because of hard-coded root path. Use the home directory instead, which is where acme.sh installs.

This commit is contained in:
manny veloso 2020-06-30 09:18:46 -07:00
parent 7abe3215a4
commit 37f23397f6

View file

@ -19,7 +19,7 @@ echo '#!/bin/bash
echo "OK"' > /usr/local/bin/reload-services.sh
chmod +x /usr/local/bin/reload-services.sh
/root/.acme.sh/acme.sh --issue --nginx \
~/.acme.sh/acme.sh --issue --nginx \
-d "$HOSTNAME" \
--key-file /etc/wildduck/certs/privkey.pem \
--fullchain-file /etc/wildduck/certs/fullchain.pem \