pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/php-fpm/files



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Wed May 18 20:40:32 UTC 2022

Modified Files:
        pkgsrc/www/php-fpm/files: php_fpm.sh

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/php-fpm/files/php_fpm.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/php-fpm/files/php_fpm.sh
diff -u pkgsrc/www/php-fpm/files/php_fpm.sh:1.2 pkgsrc/www/php-fpm/files/php_fpm.sh:1.3
--- pkgsrc/www/php-fpm/files/php_fpm.sh:1.2     Sun Aug 29 17:49:44 2021
+++ pkgsrc/www/php-fpm/files/php_fpm.sh Wed May 18 20:40:32 2022
@@ -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