maybe chmod 0644 'conf.d/ntpd'
maybe chmod 0644 'conf.d/openvpn'
maybe chmod 0644 'conf.d/pciparm'
+maybe chmod 0644 'conf.d/php-fpm'
maybe chmod 0640 'conf.d/postgrey'
maybe chmod 0644 'conf.d/pydoc-2.7'
maybe chmod 0644 'conf.d/pydoc-3.4'
--- /dev/null
+# The OpenRC conf.d file that accompanies the php-fpm init script.
+# Not to be confused with the php-fpm.conf file that ships with
+# PHP itself.
+
+# Set the umask of the FPM process to the given (octal) value. This is
+# passed directly to start-stop-daemon. If not specified, the system
+# default will be used.
+#PHP_FPM_UMASK=0002
set_phpvars
start-stop-daemon --start --pidfile "${PHP_FPM_PID}" \
--exec "${PHP_FPM_BIN}" \
+ ${PHP_FPM_UMASK:+--umask ${PHP_FPM_UMASK}} \
-- \
--fpm-config "${PHP_FPM_CONF}" \
--pid "${PHP_FPM_PID}"