mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
add a DBus "daemon running" indicator
This commit is contained in:
1 parent
94b3d9e2ed
commit
27ecfee382
1 file changed
+2
@@ -68,6 +68,7 @@ public class DaemonCommand implements MultiLocalCommand {
|
||||
var t = run(conn, objectPath, m, outputWriter, ignoreAttachments);
|
||||
|
||||
conn.requestBusName(DbusConfig.getBusname());
|
||||
logger.info("DBus daemon running in single-user mode for " + m.getSelfNumber());
|
||||
|
||||
try {
|
||||
t.join();
|
||||
@@ -109,6 +110,7 @@ public class DaemonCommand implements MultiLocalCommand {
|
||||
}
|
||||
|
||||
conn.requestBusName(DbusConfig.getBusname());
|
||||
logger.info("DBus daemon running in anonymous mode");
|
||||
|
||||
signalControl.run();
|
||||
} catch (DBusException | IOException e) {
|
||||
|
||||
Reference in new issue
Block a user