15 lines
312 B
Bash
15 lines
312 B
Bash
|
#!/bin/sh
|
||
|
#
|
||
|
# Renouvellement certificat
|
||
|
|
||
|
sudo systemctl stop apache2.service
|
||
|
|
||
|
sudo ./certbot-auto certonly -n -d im.cyberjinh.fr -d upload.im.cyberjinh.fr -d conference.im.cyberjinh.fr -d proxy.im.cyberjinh.fr -d pubsub.im.cyberjinh.fr
|
||
|
|
||
|
sudo systemctl start apache2.service
|
||
|
|
||
|
cd /etc/prosody/
|
||
|
/.le.sh
|
||
|
|
||
|
exit 0
|