Mantas Mikulėnas <graw...@gmail.com> writes: > On Oct 15, 2014 12:07 PM, "Jan Synacek" <jsyna...@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 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel