certificates/autocert/examples/hello-mtls/nginx/certwatch.sh

7 lines
112 B
Bash
Raw Permalink Normal View History

2019-02-06 19:53:10 +00:00
#!/bin/sh
while true; do
inotifywait -e modify /var/run/autocert.step.sm/site.crt
nginx -s reload
done