mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
add cmd options
This commit is contained in:
40
README.md
40
README.md
@@ -32,17 +32,39 @@ path/to/Android/sdk/ndk/ver/toolchains/llvm/prebuilt/platform
|
|||||||
#
|
#
|
||||||
### Server args:
|
### Server args:
|
||||||
#### Usage
|
#### Usage
|
||||||
TorrServer [--port PORT] [--path PATH] [--logpath LOGPATH] [--rdb] [--httpauth] [--dontkill] [--ui]
|
TorrServer-darwin-arm64 [--port PORT] [--path PATH] [--logpath LOGPATH] [--weblogpath WEBLOGPATH] [--rdb] [--httpauth] [--dontkill] [--ui] [--torrentsdir TORRENTSDIR] [--torrentaddr TORRENTADDR] [--pubipv4 PUBIPV4] [--pubipv6 PUBIPV6] [--searchwa]
|
||||||
|
|
||||||
#### Options
|
#### Options
|
||||||
* --port PORT, -p PORT web server port
|
* --port PORT, -p PORT
|
||||||
* --path PATH, -d PATH database and settings path
|
* web server port, default 8090
|
||||||
* --logpath LOGPATH, -l LOGPATH log path
|
* --path PATH, -d PATH
|
||||||
* --rdb, -r start in read-only DB mode
|
* database dir path
|
||||||
* --httpauth, -a http auth on all requests
|
* --logpath LOGPATH, -l LOGPATH
|
||||||
* --dontkill, -k dont kill server on signal
|
* server log file path
|
||||||
* --ui, -u run page torrserver in browser
|
* --weblogpath WEBLOGPATH, -w WEBLOGPATH
|
||||||
* --version display version and exit
|
* web access log file path
|
||||||
|
* --rdb, -r
|
||||||
|
* start in read-only DB mode
|
||||||
|
* --httpauth, -a
|
||||||
|
* enable http auth on all requests
|
||||||
|
* --dontkill, -k
|
||||||
|
* don't kill server on signal
|
||||||
|
* --ui, -u
|
||||||
|
* open torrserver page in browser
|
||||||
|
* --torrentsdir TORRENTSDIR, -t TORRENTSDIR
|
||||||
|
* autoload torrents from dir
|
||||||
|
* --torrentaddr TORRENTADDR
|
||||||
|
* Torrent client address, default :32000
|
||||||
|
* --pubipv4 PUBIPV4, -4 PUBIPV4
|
||||||
|
* set public IPv4 addr
|
||||||
|
* --pubipv6 PUBIPV6, -6 PUBIPV6
|
||||||
|
* set public IPv6 addr
|
||||||
|
* --searchwa, -s
|
||||||
|
* search without auth
|
||||||
|
* --help, -h
|
||||||
|
* display this help and exit
|
||||||
|
* --version
|
||||||
|
* display version and exit
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user