For the following two places of php-fpm init configuration on Centos 6, which one do you think is the most suitable to put in, for example, umask = 077 ?
/etc/init.d/php-fpm
OR
/etc/sysconfig/php-fpm
Any other suggestions are also welcome. Thank you.
Best Answer
If the sysconfig script is being sourced from the init script (as it should be), then that's the place to put it. The init script might get updated at some point, and then you'll have a shiny little
/etc/init.d/php-fpm.rpmnew
file to take a look at. ;-)