On Mon, 6 Oct 2008, Rainer Gerhards wrote:

RG> 
RG>    [...] 
RG> 
RG> Initially, I thought to use a special signal (e.g. USR2) for this
RG> purpose. But still logrotate, as a well-known example, would cause a
RG> daemon restart where none is needed. So I now think it would be best to
RG> change HUP in the way described above. Those that need to apply a config
RG> change would then need to do a regular daemon restart - the same thing
RG> that is done with other daemons. In order to keep compatible, I would
RG> add an $HUPisRestart option, by default off, which could be used to
RG> re-enable previous behavior.
RG> 

Still, I'd like to have a way to force full restart without really tearing 
down and reloading the server. What about (optionally?) binding current 
HUP behaviour to USR2 adding a default on option like $USR2isRestart?

Cheers, and a nice forthweek to all, yours

        lorenzo


+-------------------------+----------------------------------------------+
|   Lorenzo M.  Catucci   | Centro di Calcolo e Documentazione           |
| [EMAIL PROTECTED] | Università degli Studi di Roma "Tor Vergata" |
|                         | Via O. Raimondo 18 ** I-00173 ROMA  ** ITALY |
|  Tel. +39 06 7259 2255  | Fax. +39 06 7259 2125                        |
+-------------------------+----------------------------------------------+
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to