Question

The role of .local (centsos)

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?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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