#ifndef JCC_H_INCLUDED
#define JCC_H_INCLUDED
-#define JCC_H_VERSION "$Id: jcc.h,v 1.7 2001/11/05 21:41:43 steudten Exp $"
+#define JCC_H_VERSION "$Id: jcc.h,v 1.8 2002/03/04 18:19:49 oes Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.h,v $
*
* Revisions :
* $Log: jcc.h,v $
+ * Revision 1.8 2002/03/04 18:19:49 oes
+ * Added extern const char *pidfile
+ *
* Revision 1.7 2001/11/05 21:41:43 steudten
* Add changes to be a real daemon just for unix os.
* (change cwd to /, detach from controlling tty, set
#ifdef unix
extern const char *pidfile;
#endif
+extern int no_daemon;
/* Functions */
.TP\r
.BR --no-daemon " (unix only)"\r
Don't become a daemon, i.e. don't fork and become process group\r
-leader, don't detach from controlling tty.\r
+leader, don't detach from controlling tty, and do all logging\r
+there.\r
.TP\r
\fB --pidfile\fP \fIPID_FILE\fP (unix only)\r
On startup, write the process ID to \fIpidfile\fP. Delete the\r
-const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.33 2002/03/05 04:52:42 oes Exp $";
+const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.34 2002/03/06 23:14:35 jongfoster Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loadcfg.c,v $
*
* Revisions :
* $Log: loadcfg.c,v $
+ * Revision 1.34 2002/03/06 23:14:35 jongfoster
+ * Trivial cosmetic changes to make function comments easier to find.
+ *
* Revision 1.33 2002/03/05 04:52:42 oes
* Deleted non-errlog debugging code
*
* *************************************************************************/
case hash_logfile :
freez(config->logfile);
- config->logfile = make_path(config->logdir, arg);
+ config->logfile = no_daemon ? NULL : make_path(config->logdir, arg);
continue;
/* *************************************************************************