Open martin-rufilla opened 4 years ago
This is still not fixed??
Should be fixed by commit e30d58fcc9eb8b7c75e0c358d7046deb7e7cd1a6 I believe.
The Debian packages are still at 7cb788c. Are any of the maintainers here? I don't really know the process for this sort of thing.
In bt-agent.c you have registered the wrong signal handlers, usr1_signal_handler for SIGTERM and term_signal_handler for SIGUSR1.
This stops it gracefully shutting down.
I have tested / Add SIGTERM/SIGINT/SIGUSR1 handlers / g_unix_signal_add (SIGTERM, term_signal_handler, NULL); g_unix_signal_add (SIGINT, term_signal_handler, NULL); g_unix_signal_add (SIGUSR1, usr1_signal_handler, NULL);
With a systemd service to start/stop the bt-agent and it works.
Cheers, Martin.