servnest-mkosi/install/certbot.sh

9 lines
247 B
Bash
Raw Normal View History

mkdir /srv/servnest/acme
chown $nginx: /srv/servnest/acme
chmod u=rX,g=,o= /srv/servnest/acme
2023-05-02 22:13:04 +02:00
cp /install/certbot.ini /etc/letsencrypt/cli.ini
cp /install/certbot-deploy-hook.sh /root/certbot-deploy-hook.sh
chmod +x /root/certbot-deploy-hook.sh