2016-03-25 0:56 GMT+01:00 Kane Kim <[email protected]>:
> Our module spawns some threads on initialization and it can't work with
> damonized rsyslog (only with rsyslog in foreground).

The activate entry point is called after fork. Please note that it is
not necessary to have rsyslog fork -- the -n command line option
prohibts this. Modern systems with systemd do not make rsyslog fork,
as far as I know.

Rainer
>
> On Thu, Mar 24, 2016 at 2:41 PM, David Lang <[email protected]> wrote:
>
>> I'm pretty sure after. It needs to read it's config file first, and it
>> can't finish doing that until modules are loaded.
>>
>> why?
>>
>> David Lang
>>
>> On Thu, 24 Mar 2016, Kane Kim wrote:
>>
>> Does rsyslog fork/daemonize before loading plugins or after?
>>>
>> _______________________________________________
>> rsyslog mailing list
>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>> http://www.rsyslog.com/professional-services/
>> What's up with rsyslog? Follow https://twitter.com/rgerhards
>> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
>> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
>> DON'T LIKE THAT.
>>
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
> sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T 
> LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to