-
Notifications
You must be signed in to change notification settings - Fork 31
/
USAGE
31 lines (27 loc) · 1.39 KB
/
USAGE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
ticketd - a unique ticket server
Usage:
ticketd [-d | -P DB_PATH | -H HOST | -s SIZE | -i PID_FILE | -g]
ticketd start --id ID [-d | -P DB_PATH | -H HOST | -p PORT | -t PORT | -s SIZE | -i PID_FILE | -g]
ticketd join PEER --id ID [-d | -P DB_PATH | -H HOST | -p PORT | -t PORT | -s SIZE | -i PID_FILE | -g]
ticketd leave [-P DB_PATH | -g]
ticketd drop [-P DB_PATH | -g]
ticketd --version
ticketd --help
Options:
-d --daemonize Run as a daemon.
-I --id ID This server's manually set Raft ID
-P --path DB_PATH Path where database files will be kept [default: store]
-H --host HOST Host to listen on [default: 127.0.0.1]
-p --raft_port PORT Port for Raft peer traffic [default: 9000]
-t --http_port PORT Port for HTTP traffic [default: 8000]
-s --db_size SIZE Size of database in megabytes [default: 1000]
-i --pid_file PID_FILE Pid file [default: /var/run/pearl.pid]
-g --debug Switch on debugging mode
-v --version Display version.
-h --help Prints a short usage summary.
Commands:
start Destroy database and create a new cluster
join Destroy database and join cluster via peer
leave Destroy database and leave cluster
drop Destroy database
Without a command, ticketd will rejoin the cluster.