[systemd-devel] Possible documentation problems
Jan Synacek
jsynacek at redhat.com
Wed Oct 15 02:47:39 PDT 2014
Mantas Mikulėnas <grawity at gmail.com> writes:
> On Oct 15, 2014 12:07 PM, "Jan Synacek" <jsynacek at redhat.com> wrote:
>>
>> Hello,
>>
>> in the documentation for systemd.service, under Type= option, it reads:
>>
>> Behavior of oneshot is similar to simple; however, it is expected that
> the
>> process has to exit before systemd starts follow-up unit
> RemainAfterExit=
>> is particularly useful for this type of service. This is the implied
> default
>> if neither Type= or ExecStart= are specified.
>>
>> I don't think that the part about not specifying ExecStart is correct. If
>> there is no ExecStart in the service file, I get an error.
>
> Recent systemd versions allow this if an ExecStop= is specified instead.
>
> --
> Mantas Mikulėnas
I didn't know that, thanks!
--
Jan Synacek
Software Engineer, Red Hat
More information about the systemd-devel
mailing list