doc (cli/profile): add autoconnection in example
This commit is contained in:
parent
d22bd6c96d
commit
bed5aa94a6
1 changed files with 3 additions and 2 deletions
|
|
@ -91,10 +91,11 @@ Create a component profile for the file sharing component (whose entry point is
|
||||||
``file_sharing``). The jid of the service is specified with ``--jid`` (note that we don't
|
``file_sharing``). The jid of the service is specified with ``--jid`` (note that we don't
|
||||||
use a node as it is a jid of a component) and the ``--xmpp-password`` is the shared
|
use a node as it is a jid of a component) and the ``--xmpp-password`` is the shared
|
||||||
secret. Here the profile password is kept empty to not have to enter manually the XMPP
|
secret. Here the profile password is kept empty to not have to enter manually the XMPP
|
||||||
password each time we connect the service::
|
password each time we connect the service. We use the ``-A`` option to set
|
||||||
|
autoconnection::
|
||||||
|
|
||||||
$ li profile create file_sharing -j files.example.org -p "" --xmpp-password
|
$ li profile create file_sharing -j files.example.org -p "" --xmpp-password
|
||||||
some_shared_secret -C file_sharing
|
some_shared_secret -C file_sharing -A
|
||||||
|
|
||||||
|
|
||||||
default
|
default
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue