Hi Кирилл, > Have you looked into using sd_notify to update MAINPID? No, not yet. I have sd_notify on my list of things to look at in the future, but I wanted to make the service work without changing the daemon itself first. Thanks for the hint about this possibility. Kind regards, Gerd