[systemd-devel] systemd-readahead and often used applications

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Mon Apr 15 11:50:42 PDT 2013


On Mon, Apr 15, 2013 at 07:59:51PM +0200, Reindl Harald wrote:
> 
> 
> Am 15.04.2013 19:53, schrieb Kok:
> >> thanks, i will give it a try
> >> why not "Type=forking"?
> >>
> >> in my expierience a service works with simple/forking and only
> >> one of them while i must say my low-level understanding may
> >> not be enouh to realize what to use.............
> > 
> > The daemon doesn't need to do extra work to fork, and systemd won't
> > need to do all the work associated with tracking a forked process -
> > it's a lot less work, thus more efficient, and actually more robust
> 
> hi
> 
> does this mean in recent systemd-versions it is no longer needed
> to use "Type=forking" at all while it was a must for some servcies
> in early versions?
It's still necessary, if the service forks. But if the service *can*
be instructed not to fork, then it's beneficial to do so.

Zbyszek


More information about the systemd-devel mailing list