mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
Make the daemon a system daemon
With this patch, and the D-Bus activation patches posted earlier the fprintd daemon is started automatically when needed. We should have a way to exit it nicely when there are no users anymore as well...
This commit is contained in:
committed by
Daniel Drake
parent
822a2e5438
commit
6cbb079619
@ -223,7 +223,7 @@ int main(int argc, char **argv)
|
||||
g_print("Launching FprintObject\n");
|
||||
|
||||
/* Obtain a connection to the session bus */
|
||||
fprintd_dbus_conn = dbus_g_bus_get(DBUS_BUS_SESSION, &error);
|
||||
fprintd_dbus_conn = dbus_g_bus_get(DBUS_BUS_SYSTEM, &error);
|
||||
if (fprintd_dbus_conn == NULL)
|
||||
g_error("Failed to open connection to bus: %s", error->message);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user