Update letsencrypt.sh
This commit is contained in:
parent
18376c5b41
commit
7eafdcded6
|
|
@ -43,8 +43,9 @@ cd /usr/src/dehydrated
|
||||||
cp docs/examples/config /usr/local/etc/dehydrated
|
cp docs/examples/config /usr/local/etc/dehydrated
|
||||||
#cp docs/examples/hook.sh /usr/local/etc/dehydrated
|
#cp docs/examples/hook.sh /usr/local/etc/dehydrated
|
||||||
|
|
||||||
#vim /usr/local/etc/dehydrated/config
|
#update the dehydrated config
|
||||||
#sed "s#CONTACT_EMAIL=#CONTACT_EMAIL=$email_address" -i /usr/local/etc/dehydrated/config
|
sed -i' ' -e s:'#CONTACT_EMAIL=":CONTACT_EMAIL=$email_address:' /usr/local/etc/dehydrated/config
|
||||||
|
sed -i' ' -e s:'#WELLKNOWN="/var/www/dehydrated":WELLKNOWN="/usr/local/www/dehydrated":' /usr/local/etc/dehydrated/config
|
||||||
|
|
||||||
#accept the terms
|
#accept the terms
|
||||||
dehydrated --register --accept-terms --config /usr/local/etc/dehydrated/config
|
dehydrated --register --accept-terms --config /usr/local/etc/dehydrated/config
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue