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

7 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