Hi,

Type=simple cannot detect when a service is ready. Systemd simply
of teamviewerd but with service inter-dependencies this becomes
important.

Type=simple considers the service up immediatly thus triggering
dependent service for immediate execution while Type=forking considers
the service up only when appearance of the PIDFile signals so, and
only then schedules starting dependent services.

So, Type=forking is the only way to have synchronization points between
service that depend on each other.

In all fairness, the presence of a PID really doesn't say anything either about 
availability. The only way to be sure is to use Type=Notify with a cooperating 
daemon.

I haven't looked at the code, but again, if systemd knows that some
limit is being exceeded, wouldn't it make sense to say which one?

Probably yes... Maybe Lennart pays attention?

Otherwise that might be fun xmas project for an enterprising young coder!

--
Regards,
Peter
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to