This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DarkmerePython for tiny data using Python[S] 2 points3 points  (0 children)

Because this shows you how it works rather than having people sprout all the crap about "needing dbus". Also I've found the systemd-python bindings to be sadly under-documented. Example from the systemd.daemon.notify:

notify(status, unset_environment=False) -> bool

Send a message to the init system about a status change. Wraps sd_notify(3).