It looks like the makefiles are creating a AUTO_RELOAD define, but the code is looking for ENABLE_AUTO_RELOAD. Making this change fixes the auto-reload feature for me.
I also noticed that conf.c do_change() seems to ignore deleted files.
Commenting out this checks causes a deleted or moved .conf to correctly remove a service. Not sure why this check is here so I'm afraid I might be missing some edge-cases.
About the second part, looks weird and doesn't have a comment to why so I'm inclined to drop it. But I'll get to you on that, creating a separate issue for it.
It looks like the makefiles are creating a
AUTO_RELOAD
define, but the code is looking forENABLE_AUTO_RELOAD
. Making this change fixes the auto-reload feature for me.I also noticed that
conf.c do_change()
seems to ignore deleted files. Commenting out this checks causes a deleted or moved .conf to correctly remove a service. Not sure why this check is here so I'm afraid I might be missing some edge-cases.