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