On Sat, 19.02.11 10:16, Andrey Borzenkov ([email protected]) wrote:

> In manual:
> 
> JobTimeout
> RestartSec
> Timeout
> 
> while in systemctl output they are
> 
> JobTimeoutUSec
> RestartUSec
> TimeoutUSec

This one is actually done like this on purpose. The default unit of the
times when you configure them (and don't explcitily specify a unit) is
seconds all over the place, since that is most useful in most cases.

However, on the dbus interface (and 'systemctl show' shows just that) we
encode everything in usec, since that is our base unit for all times we
use internally.

Or in other words: the dbus interface is an API, and not necessarily
something the user should normally see, hence we hand out raw data. To
make this clear I changed (resp. added) the suffix "Usec" to these fields. 

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to