[systemd-devel] make systemd service takes cpu exclusively

Mantas Mikulėnas grawity at gmail.com
Thu Nov 27 04:14:43 PST 2014


On Thu, Nov 27, 2014 at 12:56 PM, Cao, XinX <xinx.cao at intel.com> wrote:

> Hi,
>
>         Yes, you are right. My service is defined as simple. And I changed
> it to notify, seems that I can make the other services  now successfully
> start after it finished startup. But I'm confused who will call "sd_notify"
> to send "READY=1"? I can't find the related code in system. Or the program
> itself?
>

Yes, it has to be added to your program. That's the whole point of
Type=notify, after all – systemd can't know when your program is ready
unless the program tells it so.

-- 
Mantas Mikulėnas <grawity at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141127/754d081a/attachment.html>


More information about the systemd-devel mailing list