Start systemd service from C/C++ application or call a D-Bus service

后端 未结 2 629
渐次进展
渐次进展 2021-01-02 12:29

I have a .service for a process that i don\'t want to start at boot-time, but to call it somehow from another already running application, at a given time.

The other

2条回答
  •  一个人的身影
    2021-01-02 13:12

    A combination of g_dbus_connection_send_message with g_dbus_message_new_method_call or g_dbus_message_new_signal should be what you are looking for.

提交回复
热议问题