organize dirs

This commit is contained in:
2022-03-27 11:09:33 +03:00
parent 005db342a6
commit 8ac8a8d7a9
32 changed files with 61 additions and 336 deletions

4
~/CertBot/README.md Normal file
View File

@@ -0,0 +1,4 @@
# Скрипты (упрощалки) для `certbot`
- `new.sh` - создаёт новый сертификат [Lets Encrypt](https://letsencrypt.org/)
- `renew.sh` - продлевает (обновляет) сертификаты

2
~/CertBot/new.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
certbot certonly --config-dir /home/user/_certbot/config --work-dir /home/user/_certbot --logs-dir /home/user/_certbot/logs

2
~/CertBot/renew.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
certbot renew --config-dir /home/user/_certbot/config --work-dir /home/user/_certbot --logs-dir /home/user/_certbot/logs