Merge pull request 'add tor stuff' (#397) from wowario/wownero:tor into master
Reviewed-on: #397pull/399/head
commit
942e3abe96
@ -1,8 +0,0 @@
|
||||
# Configuration for wownerod
|
||||
# Syntax: any command line option may be specified as 'clioptionname=value'.
|
||||
# Boolean options such as 'no-igd' are specified as 'no-igd=1'.
|
||||
# See 'wownerod --help' for all available options.
|
||||
|
||||
data-dir=/var/lib/wownero
|
||||
log-file=/var/log/wownero/wownero.log
|
||||
log-level=0
|
@ -1,38 +1,17 @@
|
||||
[Unit]
|
||||
Description=Wownero Full Node
|
||||
After=network.target
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
User=wownero
|
||||
Group=wownero
|
||||
WorkingDirectory=~
|
||||
RuntimeDirectory=wownero
|
||||
Environment="MONERO_RANDOMX_UMASK=1"
|
||||
StateDirectory=wownero
|
||||
LogsDirectory=wownero
|
||||
|
||||
# Clearnet config
|
||||
#
|
||||
Type=forking
|
||||
PIDFile=/run/wownero/wownerod.pid
|
||||
ExecStart=/usr/bin/wownerod --config-file /etc/wownerod.conf \
|
||||
--detach --pidfile /run/wownero/wownerod.pid
|
||||
|
||||
# Tor config
|
||||
#
|
||||
## We have to use simple, not forking, because we cannot pass --detach
|
||||
## because stderr/stdout is not available when detached, but torsocks
|
||||
## attempts to write to it, and fails with 'invalid argument', causing
|
||||
## wownerod to fail.
|
||||
#Type=simple
|
||||
#Environment=DNS_PUBLIC=tcp
|
||||
## The following is needed only when accessing wallet from a different
|
||||
## host in the LAN, VPN, etc, the RPC must bind to 0.0.0.0, but
|
||||
## by default torsocks only allows binding to localhost.
|
||||
#Environment=TORSOCKS_ALLOW_INBOUND=1
|
||||
#ExecStart=/usr/bin/torsocks /usr/bin/wownerod --config-file /etc/wownerod.conf \
|
||||
# --non-interactive
|
||||
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/wownerod --config-file /etc/wownerod.conf --non-interactive
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,28 @@
|
||||
#anonymous-inbound=YOUR_ONION_ADDRESS:34566,127.0.0.1:34566,64
|
||||
check-updates=disabled
|
||||
log-level=0
|
||||
no-igd=1
|
||||
no-zmq=1
|
||||
restricted-rpc=1
|
||||
p2p-bind-ip=0.0.0.0
|
||||
p2p-bind-port=34567
|
||||
public-node=1
|
||||
confirm-external-bind=1
|
||||
rpc-bind-ip=0.0.0.0
|
||||
rpc-bind-port=34568
|
||||
rpc-ssl=autodetect
|
||||
disable-rpc-ban=1
|
||||
db-sync-mode=safe
|
||||
out-peers=64
|
||||
in-peers=64
|
||||
limit-rate-up=1048576
|
||||
limit-rate-down=1048576
|
||||
tx-proxy=tor,127.0.0.1:9050,23
|
||||
add-priority-node=v2admi6gbeprxnk6i2oscizhgy4v5ixu6iezkhj5udiwbfjjs2w7dnid.onion:34568
|
||||
add-priority-node=iy6ry6uudpzvbd72zsipepukp6nsazjdu72n52vg3isfnxqn342flzad.onion:34568
|
||||
add-priority-node=7ftpbpp6rbgqi5kjmhyin46essnh3eqb3m3rhfi7r2fr33iwkeuer3yd.onion:34568
|
||||
add-priority-node=j7rf2jcccizcp47y5moehguyuqdpg4lusk642sw4nayuruitqaqbc7ad.onion:34568
|
||||
add-priority-node=aje53o5z5twne5q2ljw44zkahhsuhjtwaxuburxddbf7n4pfsj4rj6qd.onion:34568
|
||||
add-priority-node=nepc4lxndsooj2akn7ofrj3ooqc25242obchcag6tw3f2mxrms2uuvyd.onion:34568
|
||||
add-priority-node=666l2ajxqjgj5lskvbokvworjysgvqag4oitokjuy7wz6juisul4jqad.onion:34568
|
||||
add-priority-node=ty7ppqozzodz75audgvkprekiiqsovbyrkfdjwadrkbe3etyzloatxad.onion:34568
|
Loading…
Reference in new issue