update docs

This commit is contained in:
Mike Dilger 2024-10-25 10:28:32 +13:00
parent 2794515ab7
commit 6d7d3f4afe
2 changed files with 8 additions and 2 deletions

View File

@ -69,7 +69,7 @@ cargo build --release
Ok now let's install that (along with the utility binaries):
```bash
sudo install --mode=0700 --owner=chorus ./target/release/{chorus,chorus_compress,chorus_dump,chorus_dump_approvals,chorus_moderate} /opt/chorus/sbin/
sudo install --mode=0700 --owner=chorus ./target/release/{chorus,chorus_compress,chorus_dump,chorus_dump_approvals,chorus_moderate,chorus_cmd} /opt/chorus/sbin/
```
Now let's create our config file
@ -180,7 +180,7 @@ sudo journalctl -f -u chorus.service
cd /opt/chorus/src/chorus
git pull
cargo build --release
sudo install --mode=0700 --owner=chorus ./target/release/{chorus,chorus_compress,chorus_dump,chorus_dump_approvals,chorus_moderate} /opt/chorus/sbin/
sudo install --mode=0700 --owner=chorus ./target/release/{chorus,chorus_compress,chorus_dump,chorus_dump_approvals,chorus_moderate,chorus_cmd} /opt/chorus/sbin/
sudo systemctl restart chorus.service
````

View File

@ -27,3 +27,9 @@ This shows the public keys you have approved.
Usage: **chorus_moderate** *<path_to_config_file\>*
This is an interactive tool to moderate events which have been accepted, but which are not authored by a chorus user. If you chose to approve them, they will become available to the public.
## chorus_cmd
Usage: **chorus_cmd** *<path_to_config_file\>* *<command\>* *[args...]*
Commands available: delete_by_id (specify the ID in hex), delete_by_pubkey (specify the pubkey in hex)