diff options
| author | Christos Chatzaras <chris@cretaforce.gr> | 2025-03-25 14:17:45 +0100 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2025-03-25 19:11:12 +0100 |
| commit | a97530b48518c47097305b4c11176d09a3b76e3f (patch) | |
| tree | 04da2026a4c01ff4ec242bc1f25af6de20d9dbfe /lang/php84/files/php_fpm.in | |
| parent | lang/php83: Correct php_fpm in rc script (diff) | |
lang/php84: Correct php_fpm in rc.d script
Correct a reference in the php_fpm.in file, changing php-fpm to php_fpm to
ensure consistent naming when invoking the rc.d script for PHP-FPM profiles.
PR: 285584
Diffstat (limited to 'lang/php84/files/php_fpm.in')
| -rw-r--r-- | lang/php84/files/php_fpm.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/php84/files/php_fpm.in b/lang/php84/files/php_fpm.in index 104dcf10261a..d8a70275f453 100644 --- a/lang/php84/files/php_fpm.in +++ b/lang/php84/files/php_fpm.in @@ -5,9 +5,9 @@ # KEYWORD: shutdown # -# Add the following line to /etc/rc.conf to enable php-fpm: +# Add the following line to /etc/rc.conf to enable php_fpm: # php_fpm_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable php-fpm +# Set it to "YES" to enable php_fpm # php_fpm_profiles (str): Set to "" by default. # Define your profiles here. # php_fpm_pid_prefix (str): Set to "" by default. @@ -53,7 +53,7 @@ else if [ "x${php_fpm_profiles}" != "x" -a "x$1" != "x" ]; then for profile in ${php_fpm_profiles}; do echo "===> php_fpm profile: ${profile}" - %%PREFIX%%/etc/rc.d/php-fpm $1 ${profile} + %%PREFIX%%/etc/rc.d/php_fpm $1 ${profile} retcode="$?" if [ "0${retcode}" -ne 0 ]; then failed="${profile} (${retcode}) ${failed:-}" |
