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.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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: