certificates/autocert/examples/hello-mtls/nginx/certwatch.sh
2019-02-06 11:53:10 -08:00

6 lines
112 B
Bash
Executable file

#!/bin/sh
while true; do
inotifywait -e modify /var/run/autocert.step.sm/site.crt
nginx -s reload
done