Hi All,

I'm a newbie in Systemd init system and I'm exploring sd_notify which is
basically used for notification purpose in SystemD.

I have created one unit file which is of type "notify" and in my
application I have written sd_notify(0, "READY=1"); from which SystemD can
be notified that my process in totally up and running.

I getting return value of '0' from sd_notify and my service file terminates
after 30 secs of default timeout.

Need help in understanding what value should be set in the environment
But there's no much information/documentation available on NOTIFY_SOCKET.

Below given is my Service file.

*Description=Sd_notify example*



In *Myapp *code I have added the sd_notify(0, "READY=1") and getting return
value of 0.

Kindly provide your inputs regarding NOTIFY_SOCKET.


Raghavendra. H. R
systemd-devel mailing list

Reply via email to