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

(-)management/univention-directory-listener/conffiles/etc/runit/univention-directory-listener/run (+1 lines)
 Lines 49-54   esac Link Here 
49
49
50
tty -s || exec >>/var/log/univention/listener.log 2>&1
50
tty -s || exec >>/var/log/univention/listener.log 2>&1
51
exec /usr/sbin/univention-directory-listener -F \
51
exec /usr/sbin/univention-directory-listener -F \
52
	-n
52
	${listener_debug_level:+-d "$listener_debug_level"} \
53
	${listener_debug_level:+-d "$listener_debug_level"} \
53
	-b "$ldap_base" \
54
	-b "$ldap_base" \
54
	-m /usr/lib/univention-directory-listener/system \
55
	-m /usr/lib/univention-directory-listener/system \
(-)management/univention-directory-listener/src/main.c (-1 / +7 lines)
 Lines 211-216   static void usage(void) { Link Here 
211
	fprintf(stderr, "Usage: univention-directory-listener [options]\n");
211
	fprintf(stderr, "Usage: univention-directory-listener [options]\n");
212
	fprintf(stderr, "Options:\n");
212
	fprintf(stderr, "Options:\n");
213
	fprintf(stderr, "   -d   debugging\n");
213
	fprintf(stderr, "   -d   debugging\n");
214
	fprintf(stderr, "   -n   no function debugging\n");
214
	fprintf(stderr, "   -F   run in foreground (intended for process supervision)\n");
215
	fprintf(stderr, "   -F   run in foreground (intended for process supervision)\n");
215
	fprintf(stderr, "   -H   LDAP server URI\n");
216
	fprintf(stderr, "   -H   LDAP server URI\n");
216
	fprintf(stderr, "   -h   LDAP server address\n");
217
	fprintf(stderr, "   -h   LDAP server address\n");
 Lines 350-355   int main(int argc, char *argv[]) { Link Here 
350
	univention_ldap_parameters_t *lp_local;
351
	univention_ldap_parameters_t *lp_local;
351
	char *server_role;
352
	char *server_role;
352
	int debugging = 0;
353
	int debugging = 0;
354
	bool debug_function = true;
353
	bool from_scratch = false;
355
	bool from_scratch = false;
354
	bool foreground = false;
356
	bool foreground = false;
355
	bool initialize_only = false;
357
	bool initialize_only = false;
 Lines 359-365   int main(int argc, char *argv[]) { Link Here 
359
	struct stat stbuf;
361
	struct stat stbuf;
360
	char cache_mdb_dir[PATH_MAX];
362
	char cache_mdb_dir[PATH_MAX];
361
363
362
	univention_debug_init("stderr", 1, 1);
364
	univention_debug_init("stderr", UV_DEBUG_FLUSH, UV_DEBUG_FUNCTION);
363
365
364
	{
366
	{
365
		struct timeval timeout = {
367
		struct timeval timeout = {
 Lines 405-410   int main(int argc, char *argv[]) { Link Here 
405
		case 'd':
407
		case 'd':
406
			debugging = atoi(optarg);
408
			debugging = atoi(optarg);
407
			break;
409
			break;
410
		case 'n':
411
			debug_function = false;
412
			break;
408
		case 'F':
413
		case 'F':
409
			foreground = true;
414
			foreground = true;
410
			break;
415
			break;
 Lines 487-492   int main(int argc, char *argv[]) { Link Here 
487
492
488
	univention_debug_set_level(UV_DEBUG_LISTENER, debugging);
493
	univention_debug_set_level(UV_DEBUG_LISTENER, debugging);
489
	univention_debug_set_level(UV_DEBUG_LDAP, debugging);
494
	univention_debug_set_level(UV_DEBUG_LDAP, debugging);
495
	univention_debug_set_function(debug_function ? UV_DEBUG_FUNCTION: UV_DEBUG_NO_FUNCTION);
490
496
491
	{
497
	{
492
		char filename[PATH_MAX];
498
		char filename[PATH_MAX];

Return to bug 48893