Default services enabled

Lennart Poettering mzerqung at 0pointer.de
Wed Aug 24 17:57:45 UTC 2011


On Wed, 24.08.11 11:18, Simo Sorce (simo at redhat.com) wrote:

> > FWIW, I do think that there may be use-cases for socket activation of a
> > database.  I'd like to support the option ... the problem is to do so
> > without breaking existing, expected behaviors.
> 
> I am not sure you can, the only would be to have systemd have some way
> to get callbacks from service to know when they are actually ready to
> serve. This would make "After" more meaningful. 

Hmm, we have that. The traditional way is Type=forking plus double
forking+exit in the parent. The nicer modern way is Type=notify and
sd_notify("READY=1").

I am not entirely I am sure I follow what you are asking for, but do you
need more thatn this?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list