[systemd-devel] Possible documentation problems

Mantas Mikulėnas grawity at gmail.com
Wed Oct 15 02:32:30 PDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141015/03291766/attachment.html>


More information about the systemd-devel mailing list