ACME update script cleaned up...
This commit is contained in:
parent
0eec6d1947
commit
edb7cda2a6
1 changed files with 2 additions and 9 deletions
11
bin/ac.sh
11
bin/ac.sh
|
|
@ -1,9 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
#cat /etc/lighttpd/vhosts.d/systems.findeisen.conf.nossl > /etc/lighttpd/vhosts.d/systems.findeisen.conf
|
||||
|
||||
/etc/init.d/lighttpd restart
|
||||
|
||||
acme.sh --cron --force --home /root/.acme.sh
|
||||
|
||||
for host in $(ls /etc/acme | tr '\n' ' '); do
|
||||
|
|
@ -12,15 +8,12 @@ for host in $(ls /etc/acme | tr '\n' ' '); do
|
|||
cat /etc/acme/$host/fullchain.cer >> /etc/acme/$host/$host.pem
|
||||
done
|
||||
|
||||
#cat /etc/lighttpd/vhosts.d/systems.findeisen.conf.ssl > /etc/lighttpd/vhosts.d/systems.findeisen.conf
|
||||
|
||||
cat /etc/acme/mail.xw3.org/fullchain.cer > /opt/mailcow-dockerized/data/assets/ssl/mail.xw3.org/cert.pem
|
||||
cat /etc/acme/mail.xw3.org/mail.xw3.org.key > /opt/mailcow-dockerized/data/assets/ssl/mail.xw3.org/key.pem
|
||||
|
||||
/etc/init.d/lighttpd restart
|
||||
/etc/init.d/nginx restart
|
||||
/etc/init.d/prosody restart
|
||||
|
||||
cat /etc/acme/mail.xw3.org/fullchain.cer > /opt/mailcow-dockerized/data/assets/ssl/mail.xw3.org/cert.pem
|
||||
cat /etc/acme/mail.xw3.org/mail.xw3.org.key > /opt/mailcow-dockerized/data/assets/ssl/mail.xw3.org/key.pem
|
||||
cd /opt/mailcow-dockerized
|
||||
docker-compose restart
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue