Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 ?




Any other suggestions are also welcome. Thank you.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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. ;-)

share|improve this answer
Thanks for the answer. Just to confirm, according to what you said, it wouldn't be good to modify the /etc/init.d/php-fpm file since upgrading centos might overwrite the modified file (while saving it as /etc/init.d/php-fpm.rpmnew) and render the change useless? – tonytz Jul 19 '12 at 22:59
It wouldn't overwrite the modified one, but would set aside the new one for you to check before merging the changes manually. See for example, – Gnarfoz Jul 19 '12 at 23:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.