Re: [systemd-devel] How to get argument list for methods

2025-06-16 Thread Mantas Mikulėnas
GLib's `gdbus introspect` can show you the parameter names if they're included in the introspection XML: gdbus introspect -y -d org.freedesktop.systemd1 -o /org/freedesktop/systemd1/unit/cups_2eservice But introspection is mainly for use by language bindings (e.g. perl-dbus) – it is not a sub

[systemd-devel] How to get argument list for methods

2025-06-16 Thread Chris Kottaridis
I am beginning to use the sd-bus library. I have been able to get a couple of properties, MainPID and SubState. I would like to use the Stop method. I am using cups as an example. This commands shows that in thee Unit interface there is a Start and Stop method: $ busctl introspect org.freedesk