CVS Commit RemoveService + conf files

Mike Tremaine <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
[mgt@vega shared]$ cvs diff removeservice
Index: removeservice
===================================================================
RCS file: /var/cvs/logwatch/scripts/shared/removeservice,v
retrieving revision 1.9
diff -r1.9 removeservice
34a35,37
 > #Change commas to pipes -mgt
 > $ServiceName =~ s/,/|/g;
 >
37,38c40,41
<    unless ( ($ThisLine =~ m/^... .. ..:..:.. [^ ]* 
$ServiceName\[[0123456789]*\]: /oi) or
<          ($ThisLine =~ m/^... .. ..:..:.. [^ ]* 
(:\s*)?$ServiceName\s*: /oi) ) {
---
 >    unless ( ($ThisLine =~ m/^... .. ..:..:.. [^ ]* 
($ServiceName)\[[0123456789]*\]: /oi) or
 >          ($ThisLine =~ m/^... .. ..:..:.. [^ ]* 
(:\s*)?($ServiceName)\s*: /oi) ) {

Plus I changed message.conf and syslog.conf to use the comma separated 
list ability

[mgt@vega logfiles]$ cvs commit messages.conf syslog.conf
Checking in messages.conf;
/var/cvs/logwatch/conf/logfiles/messages.conf,v  <--  messages.conf
new revision: 1.25; previous revision: 1.24
done
Checking in syslog.conf;
/var/cvs/logwatch/conf/logfiles/syslog.conf,v  <--  syslog.conf
new revision: 1.3; previous revision: 1.2
done


-Mike
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.