[systemd-devel] Multiple notifications using sd_notify

Lennart Poettering lennart at poettering.net
Fri Nov 25 15:41:44 UTC 2016


On Fri, 25.11.16 20:45, Raghavendra. H. R (raghuhr84 at gmail.com) wrote:

> Hi All,
> 
> Can we use sd_notify multiple times in any application to which can be used
> as notification for other processes.
> 
> If Process B & C both depends & need notification from Process A.
> Can we use sd_notify in Process A multiple times which can be used other
> processes at different times ?

sd_notify() is a communication channel between a service and the
systemd instance running it. It's nothing else really. It isn't really
suitable for communication with any other party.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list