You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
551 B

# Type of auth method you want to use - overrides any stored auth methods
# in the account. If you don't want to override them, set
AUTHMETHOD="-a webroot --webroot-path /var/www/letsencrypt-root/"
/usr/src/letsencrypt/letsencrypt-auto \
--server \
--agree-tos \
-n \
# Put other commands you need to run below here
# like restarting apache, copying cert files, etc.
/etc/init.d/apache2 restart &>/dev/null