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

(-)a/services/univention-samba4/conffiles/etc/logrotate.d/samba (-2 / +5 lines)
 Lines 9-15   for name in ('smbd', 'nmbd'): Link Here 
9
	for setting in settings.keys():
9
	for setting in settings.keys():
10
		print "\t%s" % settings[setting]
10
		print "\t%s" % settings[setting]
11
	print "\tpostrotate"
11
	print "\tpostrotate"
12
	print "\t\t/usr/bin/killall -HUP /usr/sbin/%s" % name
12
#smdb does not handle SYSHUP correct at the moment, so smb.conf has to be reloaded in a different way.
13
        if name == 'smbd':
14
                print "\t\t/usr/bin/smbcontrol all reload-config"
15
        else:
16
                print "\t\t/usr/bin/killall -HUP /usr/sbin/%s" % name
13
	print "\tendscript"
17
	print "\tendscript"
14
	print "}"
18
	print "}"
15
@!@
19
@!@
16
- 

Return to bug 44953