certificates/examples/docker/nginx/certwatch.sh

7 lines
102 B
Bash
Raw Normal View History

2018-11-10 01:27:36 +00:00
#!/bin/sh
while true; do
inotifywait -e modify /var/local/step/site.crt
nginx -s reload
done