letsencrypt snippets
certbot
# no wildcard certificates yet
certbot certonly --nginx -d domain.tld -d www.domain.tld
certbot renew --nginx
certbot renew --pre-hook "service nginx stop" --post-hook "service nginx start"
''' | |
Save this file and add the following line to your ~/.bashrc" | |
export PYTHONSTARTUP="$HOME/.pythonrc" | |
''' | |
import os | |
import readline | |
import rlcompleter | |
import atexit |
# no wildcard certificates yet
certbot certonly --nginx -d domain.tld -d www.domain.tld
certbot renew --nginx
certbot renew --pre-hook "service nginx stop" --post-hook "service nginx start"
/etc/init.d/tt-rss-DOMAIN
/etc/default/tt-rss-DOMAIN
And make tt-rss-DOMAIN
start automatically (Debian), adjust init script ordering 4 to your liking:
update-rc.d tt-rss-DOMAIN start 2345 4