2 ms·
And that points to a fairly simple defensive practice to avoid this type of problem: Run it in a different process. Have said process signal if a change is fou
by vidarh 12y ago
And that points to a fairly simple defensive practice to avoid this type of problem:
Run it in a different process. Have said process signal if a change is found. If they want to handle the case where /etc/init.d is potentially huge and you don't want to rescan everything, have it write changes via a pipe.
(In fact there's a program that will do that for you: inotifywait)