Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   org.freedesktop.systemd1    ( 5 )

интерфейс D-Bus системы systemd (The D-Bus interface of systemd)

PATH UNIT OBJECTS

node /org/freedesktop/systemd1/unit/cups_2epath {
             interface org.freedesktop.systemd1.Path {
               properties:
                 @org.freedesktop.DBus.Property.EmitsChangedSignal("const")
                 readonly s Unit = '...';
                 @org.freedesktop.DBus.Property.EmitsChangedSignal("const")
                 readonly a(ss) Paths = [...];
                 @org.freedesktop.DBus.Property.EmitsChangedSignal("const")
                 readonly b MakeDirectory = ...;
                 @org.freedesktop.DBus.Property.EmitsChangedSignal("const")
                 readonly u DirectoryMode = ...;
                 readonly s Result = '...';
             };
             interface org.freedesktop.DBus.Peer { ... };
             interface org.freedesktop.DBus.Introspectable { ... };
             interface org.freedesktop.DBus.Properties { ... };
             interface org.freedesktop.systemd1.Unit { ... };
           };

Properties Most properties correspond directly with the matching settings in path unit files.

The others:

Paths contains an array of structs. Each struct contains the condition to watch, which can be one of "PathExists", "PathExistsGlob", "PathChanged", "PathModified", or "DirectoryNotEmpty" which correspond directly to the matching settings in the path unit files; and the path to watch, possibly including glob expressions.

Result contains a result value which can be "success" or "resources" which have the same meaning as the corresponding field of the Service interface.