On Thu, 11.02.16 19:20, Jan Alexander Steffens (jan.steff...@gmail.com) wrote:
> > when i say "start and stop after 20 minutes" i mean stop it not fail > > > > usecase? > > I wanted to say "aborting Type=oneshot services," but that's what > TimeoutStartSec is for. So I was wondering what the point of this is, too. > > Apparently it's for instantiated services like systemd-coredump@.service. > Why can't a service for an Accept=yes socket be Type=oneshot and use > TimeoutStartSec? Philosophically I'd claim that Type=oneshot is supposed to be for "short" running processes that something else waits for *to exit*. The other types are for "long" running processes, that nothing waits for to exit. Thus I think the coredump service is right for Type=simple. But yeah, the lines are blurry, and it would work with Type=oneshot too. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel