]> nmode's Git Repositories - signal-cli/commitdiff
Update README.md (#31)
authorLars Wallenborn <lars@wallenborn.net>
Mon, 28 Nov 2016 09:20:32 +0000 (10:20 +0100)
committerAsamK <asamk@gmx.de>
Mon, 28 Nov 2016 09:20:32 +0000 (10:20 +0100)
README.md

index 617742c2a4b003a675e39e04ea7bbe2adb9991e9..8aa5cfb299071c5a4159239deb1d6cd112fc419c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -105,6 +105,12 @@ usage: signal-cli [-h] [-v] [--config CONFIG] [-u USERNAME | --dbus | --dbus-sys
 
           signal-cli -u USERNAME trust -a NUMBER
 
+* Set configuration directory
+
+          signal-cli --config=/home/other_user/.config/signal
+
+        This is particularily useful in the case, when you would like to run the signal-cli tool as a different user as the one, that was used to register the account. You should make sure, that the caller has full read/write access to the given directory.
+        
 ## DBus service
 
 signal-cli can run in daemon mode and provides an experimental dbus interface.