View | Details | Raw Unified | Return to bug 52686 | Differences between
and this patch

Collapse All | Expand All

(-)a/management/univention-management-console/scripts/univention-management-console-module (-5 / +6 lines)
 Lines 67-72   if __name__ == '__main__': Link Here 
67
67
68
	options = parser.parse_args()
68
	options = parser.parse_args()
69
69
70
	# no notifier logging
71
	nflog.instance.handlers = []
72
	# to activate notifier logging
73
	# nflog.set_level(nflog.DEBUG)
74
	# nflog.open()
75
70
	if not options.foreground:
76
	if not options.foreground:
71
		daemon = DaemonContext(detach_process=False, prevent_core=False, umask=0o077)
77
		daemon = DaemonContext(detach_process=False, prevent_core=False, umask=0o077)
72
		daemon.signal_map = {
78
		daemon.signal_map = {
 Lines 84-94   if __name__ == '__main__': Link Here 
84
90
85
	# init logging
91
	# init logging
86
	debug_fd = log_init(options.logfile % {'module': options.module}, options.debug)
92
	debug_fd = log_init(options.logfile % {'module': options.module}, options.debug)
87
	# no notifier logging
88
	nflog.instance.handlers = []
89
	# to activate notifier logging
90
	# nflog.set_level(nflog.DEBUG)
91
	# nflog.open()
92
93
93
	try:
94
	try:
94
		locale_obj = Locale(options.language)
95
		locale_obj = Locale(options.language)

Return to bug 52686