From 5b57d417914d935c1ac360c46a3648b858aee1ba Mon Sep 17 00:00:00 2001 From: Lars Wallenborn Date: Thu, 17 Nov 2016 00:40:44 +0100 Subject: [PATCH] Update README.md I use a server monitoring solution (Zabbix) and wanted to use signal-cli for notifications. The monitoring solutions can call external scripts in case of problems but obviously uses it's own user to do this. I read about --config in the source and thought, that other people would benefit from this information as well. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 617742c2..23f9e69f 100644 --- 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 can list and read the given directory. + ## DBus service signal-cli can run in daemon mode and provides an experimental dbus interface.