This is how I restart PHP-FPM in Debian oriented systems:
Is there a version agnostic way? All ways I tried from here (besides the one above), failed.
You should be able to use the Bash star(
*) wildcard, as referenced in the Bash manpage:
* Matches any string, including the null string. When the globstar shell option is enabled, and * is used in a pathname expansion context, two adjacent *s used as a single pattern will match all files and zero or more directories and subdirectories. If followed by a /, two adjacent *s will match only directories and subdirectories.
In your case: