Subversion Repositories mdb

Rev

Rev 59 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59 Rev 60
Line 66... Line 66...
66
	/* Now daemonize this application */
66
	/* Now daemonize this application */
67
	daemon_start(1);
67
	daemon_start(1);
68
	changeToUser(&configs.User[0], &configs.Grp[0]);
68
	changeToUser(&configs.User[0], &configs.Grp[0]);
69
	handleInit();
69
	handleInit();
70
 
70
 
71
	// Prepare the thread attributes
71
	/* Prepare the thread attributes */
72
	if (pthread_attr_init(&pattr) != 0)
72
	if (pthread_attr_init(&pattr) != 0)
73
	{
73
	{
74
		syslog(LOG_DAEMON,"Error getting thread attributes.");
74
		syslog(LOG_DAEMON,"Error getting thread attributes.");
75
		return FALSE;
75
		return FALSE;
76
	}
76
	}