pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/php-fpm/files php-fpm: Improve rc file
details: https://anonhg.NetBSD.org/pkgsrc/rev/64bcf85037df
branches: trunk
changeset: 379561:64bcf85037df
user: triaxx <triaxx%pkgsrc.org@localhost>
date: Wed May 18 20:40:32 2022 +0000
description:
php-fpm: Improve rc file
pkgsrc changes:
---------------
* Add comments about usage of this file in unprivileged.
* Add _rc_subr_loaded variable for consistency with other rc files.
diffstat:
www/php-fpm/files/php_fpm.sh | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r b877bf9878b9 -r 64bcf85037df www/php-fpm/files/php_fpm.sh
--- a/www/php-fpm/files/php_fpm.sh Wed May 18 20:36:53 2022 +0000
+++ b/www/php-fpm/files/php_fpm.sh Wed May 18 20:40:32 2022 +0000
@@ -1,11 +1,17 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: php_fpm.sh,v 1.2 2021/08/29 17:49:44 khorben Exp $
+# $NetBSD: php_fpm.sh,v 1.3 2022/05/18 20:40:32 triaxx Exp $
#
# PROVIDE: php_fpm
# REQUIRE: DAEMON
+#
+# Consider installing pkgtools/rc.subr in unprivileged.
+#
+# You will need to set some variables in @SYSCONFBASE@/rc.conf to start php-fpm:
+#
+# php_fpm=YES
-. @SYSCONFBASE@/rc.subr
+$_rc_subr_loaded . @SYSCONFBASE@/rc.subr
name="php_fpm"
rcvar=${name}
Home |
Main Index |
Thread Index |
Old Index