On Oct 15, 2014 12:07 PM, "Jan Synacek" <[email protected]> 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
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to