better dynamic reload script

This commit is contained in:
ElevenNotes
2024-10-14 00:41:02 +02:00
parent ca7ef43a84
commit 0b475fd85f
4 changed files with 27 additions and 18 deletions

View File

@@ -10,7 +10,7 @@
if [ -z "${1}" ]; then
if [ ! -z ${NGINX_DYNAMIC_RELOAD} ]; then
elevenLogJSON info "enable dynamic reload"
/sbin/inotifyd /usr/local/bin/io.sh ${APP_ROOT}/etc:cdnym &
/sbin/inotifyd /usr/local/bin/dynamic_reload.sh ${APP_ROOT}/etc:cdnym &
fi
elevenLogJSON info "starting ${APP_NAME} (${APP_VERSION})"