Feature Requests item #2955089, was opened at 2010-02-19 18:59 Message generated for change (Tracker Item Submitted) made by valroff You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126468&aid=2955089&group_id=250683
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: Julien Valroff (valroff) Assigned to: Nobody/Anonymous (nobody) Summary: Fork daemon into background Initial Comment: Hi, Would you please add this patch which allows dspam daemon to fork into background: --- dspam-3.6.2~/src/dspam.c 2006-01-02 12:40:52.000000000 +0100 +++ dspam-3.6.2/src/dspam.c 2006-01-02 12:43:04.566063250 +0100 @@ -3830,6 +3830,11 @@ DRIVER_CTX DTX; char *pidfile; + /* Fork dspam into the background */ + if (fork()) { + exit(EXIT_SUCCESS); + } + __daemon_run = 1; __num_threads = 0; __hup = 0; We have been using it in Debian for years, and Hugo already mentioned it last year[0]. Cheers, Julien [0] http://www.mail-archive.com/dspam-devel@lists.sourceforge.net/msg00052.html ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126468&aid=2955089&group_id=250683 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel