[systemd-devel] Subscribe from commandline

Michael Biebl mbiebl at gmail.com
Thu Mar 6 01:58:12 PST 2014


2014-03-06 0:23 GMT+01:00 Usman <desert03 at yahoo.com>:
> Thanks Lennart. Is there a way I can do it from shell rather than writing C
> or Java code? I just want to quickly verify that the messages I get once
> Unit state changes. Any example?

Shell probably not, but you should be able to quickly hack together
something using python and its dbus bindings.
The tutorial at [1] might help you get started.

Michael

[1] http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list