-
Notifications
You must be signed in to change notification settings - Fork 5
/
run.sh
executable file
·68 lines (65 loc) · 1.8 KB
/
run.sh
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env sh
env
if [[ -e /etc/raven/ravend.conf ]]; then
source /etc/raven/ravend.conf
/home/raven/ravend \
-server=$SERVER \
-printtoconsole=$PRINTTOCONSOLE \
-maxconnections=$MAXCONNECTIONS \
-datadir=$DATADIR \
-txindex=$TXINDEX \
-assetindex=$ASSETINDEX \
-debug=$DEBUG \
-addressindex=$ADDRESSINDEX \
-timestampindex=$TIMESTAMPINDEX \
-spentindex=$SPENTINDEX \
-zmqpubrawtx=$ZMQPUBRAWTX \
-zmqpubhashblock=$ZMQPUBHASHBLOCK \
-rpcbind=$RPCBIND \
-rpcport=$RPCPORT \
-rpcallowip=$RPCALLOWIP \
-rpcuser=$RPCUSER \
-rpcpassword=$RPCPASSWORD \
-uacomment=$UACOMMENT \
-bantime=$BANTIME \
-mempoolexpiry=$MEMPOOLEXPIRY \
-rpcworkqueue=$RPCWORKQUEUE \
-maxmempool=$MAXMEMPOOL \
-dbcache=$DBCACHE \
-maxtxfee=$MAXTXFEE \
-dbmaxfilesize=$DBMAXFILESIZE \
-reindex=$REINDEX \
-testnet=$TESTNET
else
if [[ $SERVER ]]; then
$SERVER_ARG = "-server=$SERVER"
fi
/home/raven/ravend \
$SERVER_ARG \
-printtoconsole=$PRINTTOCONSOLE \
-maxconnections=$MAXCONNECTIONS \
-datadir=$DATADIR \
-txindex=$TXINDEX \
-assetindex=$ASSETINDEX \
-debug=$DEBUG \
-addressindex=$ADDRESSINDEX \
-timestampindex=$TIMESTAMPINDEX \
-spentindex=$SPENTINDEX \
-zmqpubrawtx=$ZMQPUBRAWTX \
-zmqpubhashblock=$ZMQPUBHASHBLOCK \
-rpcbind=$RPCBIND \
-rpcport=$RPCPORT \
-rpcallowip=$RPCALLOWIP \
-rpcuser=$RPCUSER \
-rpcpassword=$RPCPASSWORD \
-uacomment=$UACOMMENT \
-bantime=$BANTIME \
-mempoolexpiry=$MEMPOOLEXPIRY \
-rpcworkqueue=$RPCWORKQUEUE \
-maxmempool=$MAXMEMPOOL \
-dbcache=$DBCACHE \
-maxtxfee=$MAXTXFEE \
-dbmaxfilesize=$DBMAXFILESIZE \
-reindex=$REINDEX \
-testnet=$TESTNET
fi