<div dir="ltr">Hi all, <div><br></div><div>shameless plug, hope its ok, i've seen people do this,, but that does not means is ok...</div><div><br></div><div>so created a nice python wrapper arround sd-bus.h (and other parts of libsystemd) the idea is to make accesible to python developer what is already accesible to c developers. </div><div><br></div><div>so you can do stuff like</div><div><br></div><div>```</div><div>with pystemd.systemd1.Unit(b'postfix') as postfix:</div><div>    postfix.Unit.Start(b'Replace')</div><div>    print(f"your main pid is {postfix.Service.MainPID}")</div><div>```</div><div><br></div><div>but since it bind to sd-bus, it can do more stuff that just start stop units. the github repo is <a href="https://github.com/facebookincubator/pystemd">https://github.com/facebookincubator/pystemd</a> </div><div><div><div class="gmail_signature"><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">all feedback is much appreciated</div><div dir="ltr"><br></div><div>Have as nice day</div><div dir="ltr">Alvaro Leiva<br></div></div></div>
</div></div>