Report this

What is the reason for this report?

The role of .local (centsos)

Posted on January 25, 2014

Hi All,

Read articles of configuration like postfix, fail2ban etc… And sometimes i see that they let you save the original config file like jail.conf to jail.local and you need change everything on the .local instead of .conf

I think that when i create a .local centos will read that file instead of the .conf file is that right? So i can hold the .conf file as it is (original)

Can i do that with all the config files .conf?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

<blockquote>I think that when i create a .local centos will read that file instead of the .conf file is that right? </blockquote> <br>Almost. fail2ban reads that file, not CentOS. Which makes the answer to <strong>Can i do that with all the config files .conf?</strong> a no. It depends on whether the program you’re going to run supports that or not. <br> <br>As far as I know, .config/.jail is fail2ban specific. Postfix does not support that.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.