Ok

So I'm reading about systemd support in ebuilds; just trying to 
understand the beast wee bit better.

In in this ebuild: www-misc/monitorix (A lightweight system monitoring tool)f

the newest version has added this line to the ebuild:

"systemd_dounit docs/${PN}.service"


Looking that the systemd.eclass, all I see is:
"systemd_dounit <unit>...
    Install systemd unit(s). Uses doins, thus it is fatal in EAPI 4 and
non-fatal in earlier EAPIs. "

Which seems reasonable, but tells me nothing what the line does. I can
speculate that monitorix becomes a registered process, if you are
running systemd, but is otherwise ignored on a openrc based system?

It would seem to me the devmanual needs some more "prose" so on can
discern what the systemd.eclass is doing. And yea, I'm off to look
at the code for systemd.eclass as I'm sure it's clear as mud.....

The trouble is I find this code everywhere with google. So where
is the best place to read the current systemd.eclass code and where
do I look at the 9999 stuffage; ?should? I become curious about that
eclass or other eclass codes.....?

guidance and insight is appreciated.


James





James


Reply via email to