Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on
Nginx-watch script problem
New on LowEndTalk? Please Register and read our Community Rules.

Nginx-watch script problem

iaTaiaTa Member
edited March 2014 in Help

I'm using @telephone's excellent nginx-watch script to monitor an nginx.conf file in www root so that it reloads a couple of wordpress plugin configurations automatically as soon as they change (BWPS and W3TC).

I have it all setup and working except when one of the wordpress plugins modifies the nginx.conf file inotifywait doesn't see the change and thus the nginx config isn't reloaded.

If I edit the conf file manually it all works perfectly and as expected. I assume it's something to do with the fact that it's the php process modifying the file but I have no idea why inotifywait wouldn't see those changes.

Does anyone have any idea what the problem could be?

Sign In or Register to comment.