diff --git a/DBus-service.md b/DBus-service.md index a54940d..1f118d5 100644 --- a/DBus-service.md +++ b/DBus-service.md @@ -31,4 +31,9 @@ systemctl reload dbus.service Mind the fact that signal.service executes the signal-cli with "--config /var/lib/signal-cli". If you registered with user signal-cli, remove the config option. -Make sure to use "--dbus-system" with the send command, the service will be autostarted by dbus the first time it is requested. \ No newline at end of file +Make sure to use "--dbus-system" with the send command, the service will be autostarted by dbus the first time it is requested. + +To avoid the startup time of the JVM for the dbus client, you can use any dbus capable program to send messages via the signal-cli dbus daemon. +Example with `dbus-send`: + + dbus-send --session --type=method_call --print-reply --dest="org.asamk.Signal" /org/asamk/Signal org.asamk.Signal.sendMessage string:MessageText array:string: string:RECIPIENT