Updated DBus service (markdown)

AsamK 2017-09-20 14:55:52 +02:00
parent 1923fb1cf7
commit f7c4aeabbe

@ -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.
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