[Python] Are there any new python library support systemd functionality other than DBUS

Discussão em 'Python' iniciado por Stack, Junho 25, 2025.

  1. Stack

    Stack Membro Participativo

    I would like to implement the systemd functionality from python script. Start and stop the services in Linux machine from python script using third party library.

    e.g: sudo systemctl start application.service


    I know there is a library which support the systemd kind of functionality, i.e DBUS

    import dbus
    sysbus = dbus.SystemBus()


    But, I am looking for an best library other than dbus. Any ideas...

    Continue reading...

Compartilhe esta Página