Hello.

Description
===========

In `/usr/local/share/doc/pkg-readmes/synapse` ,
I found wrong command in "Generate a config" section.

How to reproduce
================

1. Install synapse via `pkg_add synapse`
2. Run the command lines in the section. `--generate-keys` can't be used with 
`--generate-config`.

How to fix
==========

1. The command lines should be:    
    ```diff
      doas -u _synapse /usr/local/bin/python3.9 -m synapse.app.homeserver \
              -c /var/synapse/homeserver.yaml --generate-config \
              --server-name matrix.example.com --report-stats=no \
        -     --generate-keys --keys-directory /var/synapse
        +     --keys-directory /var/synapse
    ````

Thank you for your reading and always for great projects.

Reply via email to