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.
This commit is contained in:
Lars Wallenborn 2016-11-17 00:40:44 +01:00 committed by GitHub
parent 1bae3ba6f0
commit 5b57d41791

View file

@ -105,6 +105,12 @@ usage: signal-cli [-h] [-v] [--config CONFIG] [-u USERNAME | --dbus | --dbus-sys
signal-cli -u USERNAME trust -a NUMBER 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 ## DBus service
signal-cli can run in daemon mode and provides an experimental dbus interface. signal-cli can run in daemon mode and provides an experimental dbus interface.