In article <d0000782c236fbee71045dad24a43def.squirrel@xxxxxxxxxxxxxxxxxxxxx>, James B. Byrne <byrnejb@xxxxxxxxxxxxx> wrote: > After some experimenting I have observed that overriding settings from > /usr/share/logwatch/default.conf/logwatch.conf in > /etc/logwatch/conf/logwatch.conf does not produce consistent results. > > > For example, if I replace the default detail configuration in > etc/logwatch/conf/logwatch.conf with: > > Detail = High > > It does indeed change the level of detail from the default Low set in > /usr/share/logwatch/default.conf/logwatch.conf. > > However, if I comment out the line: > > #Service = "-zz-sys" # Prevents execution of zz-sys service > > in the overridden file then the fact that this line remains in the > default.conf version means that the sservice cannot be enabled to run > by default without editing > /usr/share/logwatch/default.conf/logwatch.conf. Of course doing that > means that any update clobbers the local changes. Can you just add it back in /etc/logwatch/conf/logwatch.conf with: Service = "zz-sys" I haven't tried it, but it looks like Service lines are cumulative. Cheers Tony -- Tony Mountifield Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos