View | Details | Raw Unified | Return to bug 47035
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line     Link Here 
0
-- rsyslog.conf        2018-07-05 07:53:00.794100426 +0200
0
++ /etc/univention/templates/files/etc/rsyslog.conf    2018-07-05 07:53:17.274144236 +0200
 Lines 32-38    Link Here 
32
from os.path import exists
32
from os.path import exists
33
for (typ, cfg) in [('udp', 'UDP'), ('tcp', 'InputTCP'), ('relp', 'InputRELP')]:
33
for (typ, cfg) in [('udp', 'UDP'), ('tcp', 'InputTCP'), ('relp', 'InputRELP')]:
34
       print '# provides %s syslog reception' % (typ.upper(),)
34
       print '# provides %s syslog reception' % (typ.upper(),)
35
       mod = '/usr/lib/rsyslog/im%s.so' % (typ,)
35
       mod = '/usr/lib/x86_64-linux-gnu/rsyslog/im%s.so' % (typ,)
36
       port = configRegistry.get('syslog/input/%s' % (typ,))
36
       port = configRegistry.get('syslog/input/%s' % (typ,))
37
       pfx = '' if port and exists(mod) else '#'
37
       pfx = '' if port and exists(mod) else '#'
38
       print '%s$ModLoad im%s' % (pfx, typ)
38
       print '%s$ModLoad im%s' % (pfx, typ)

Return to bug 47035