Question

The role of .local (centsos)

Posted January 25, 2014 1.7k views
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?

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.

×
1 answer
I think that when i create a .local centos will read that file instead of the .conf file is that right?

Almost. fail2ban reads that file, not CentOS. Which makes the answer to Can i do that with all the config files .conf? a no. It depends on whether the program you're going to run supports that or not.

As far as I know, .config/.jail is fail2ban specific. Postfix does not support that.
Submit an Answer