11 lines
193 B
Bash
Executable File
11 lines
193 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# stop nginx
|
|
s6-svc -d /var/run/s6/services/nginx
|
|
|
|
# renew cert
|
|
certbot-auto --no-self-upgrade -n renew >> /config/le-renew.log
|
|
|
|
# start nginx
|
|
s6-svc -u /var/run/s6/services/nginx
|