[systemd-devel] Upstream service file for NTP daemon chrony
Kay Sievers
kay at vrfy.org
Mon Jul 2 16:35:05 PDT 2012
On Tue, Jul 3, 2012 at 1:20 AM, Paul Menzel
<paulepanter at users.sourceforge.net> wrote:
> Am Dienstag, den 03.07.2012, 00:55 +0200 schrieb Kay Sievers:
>> On Tue, Jul 3, 2012 at 12:44 AM, Paul Menzel wrote:
>> >> I'm also generally skeptical of After= without a corresponding
>> >> Requires= entry because it only affects the ordering if the other unit
>> >> is already present in the working set of services then being started.
>> >
>> > I did not get that. The manuals are waiting for me.
>> >
>> >> If something's required to happen before a unit, you need both.
>> >
>> > Understood.
>>
>> $ man systemd.unit
>>
>> "Before=, After=
>> Configures ordering dependencies between units. If a unit foo.service
>> contains a setting Before=bar.service and both units are being
>> started, bar.service's start-up is delayed until foo.service is
>> started up.
>
> So »started up« does not mean is started up and finished with execution?
That's unrelated to the Before= After= ordering.
It depends on the Type= of service when systemd gets
told/recognizes/marks a service as 'ready'. Man systemd.service.
Kay
More information about the systemd-devel
mailing list