mirror of
https://github.com/hexastack/hexabot
synced 2024-11-26 13:51:20 +00:00
7 lines
160 B
Bash
7 lines
160 B
Bash
|
#!/bin/sh
|
||
|
while :; do
|
||
|
# Optional: Instead of sleep, detect config changes and only reload if necessary.
|
||
|
sleep 6h
|
||
|
nginx -t && nginx -s reload
|
||
|
done &
|