2017-04-04 09:01:43 -04:00
|
|
|
# Command-line interface
|
2016-06-04 19:24:12 +02:00
|
|
|
|
|
|
|
**srndv2** comes with a selection of command-line arguments for managing your node.
|
|
|
|
|
2017-04-04 09:01:43 -04:00
|
|
|
## Rebuild all thumbnails
|
2016-06-04 19:24:12 +02:00
|
|
|
|
|
|
|
To rebuild all thumbnails run:
|
2016-02-01 21:27:14 -05:00
|
|
|
|
2016-06-05 12:12:05 +02:00
|
|
|
./srndv2 tool rethumb
|
2017-04-04 09:01:43 -04:00
|
|
|
|
|
|
|
## Generate a new tripcode keypair (prints to stdout)
|
2016-06-04 19:24:12 +02:00
|
|
|
|
2016-06-05 12:12:05 +02:00
|
|
|
./srndv2 tool keygen
|
2016-06-04 19:24:12 +02:00
|
|
|
|
2017-04-04 09:01:43 -04:00
|
|
|
## Add a public key to moderation trust
|
2016-06-04 19:24:12 +02:00
|
|
|
|
|
|
|
Where `publickey` is the public key to be added.
|
|
|
|
|
2016-06-05 12:12:05 +02:00
|
|
|
./srndv2 tool mod add publickey
|
2017-04-04 09:01:43 -04:00
|
|
|
|
|
|
|
## Remove a public key from moderation trust
|
2016-06-04 19:24:12 +02:00
|
|
|
|
|
|
|
Where `publickey` is the public key to be removed.
|
|
|
|
|
2016-06-05 12:12:05 +02:00
|
|
|
./srndv2 tool mod del publickey
|
2016-06-04 19:37:04 +02:00
|
|
|
|
2017-04-04 09:01:43 -04:00
|
|
|
## Add a new NNTP user
|
2016-06-04 19:37:04 +02:00
|
|
|
|
|
|
|
Where `username` is the username and `password` is the user's password for the new uer.
|
|
|
|
|
2016-06-05 12:12:05 +02:00
|
|
|
./srndv2 tool nntp add-login username password
|
2016-06-04 19:37:04 +02:00
|
|
|
|
2017-04-04 09:01:43 -04:00
|
|
|
## Remove an existing NNTP user
|
2016-06-04 19:37:04 +02:00
|
|
|
|
|
|
|
Where `username` is the username of the user to be deleted.
|
|
|
|
|
2016-06-05 12:12:05 +02:00
|
|
|
./srndv2 tool nntp del-login username
|
2017-04-04 09:01:43 -04:00
|
|
|
|
|
|
|
## Moderator shell
|
|
|
|
|
|
|
|
commandline interface for moderator actions
|
|
|
|
|
|
|
|
./srndv2 tool mod do
|