As it currently stands this solution will only currently reset the opcache of a single parent php-fpm pool. A warning / note might be added to the README about that as very bad things may happen when running this in a clustered environment.
Support for multiple nodes / processes would be a good next step to add.