Last active
April 18, 2018 06:40
-
-
Save georg90/ec6ac5eb04d335f65577164e4dabba76 to your computer and use it in GitHub Desktop.
renew le certificates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# how to renew certificates with nextcloud in place. | |
sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --on | |
# wait 5min | |
sudo service apache2 stop | |
sudo certbot renew --dry-run # ohne dry-run wenn normaler renewal | |
sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off | |
sudo service apache2 start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment