mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 10:53:29 +01:00
systemd: remove outdated torsocks example
This commit is contained in:
parent
9aab19f349
commit
14eb42d12d
@ -9,28 +9,11 @@ WorkingDirectory=~
|
|||||||
StateDirectory=monero
|
StateDirectory=monero
|
||||||
LogsDirectory=monero
|
LogsDirectory=monero
|
||||||
|
|
||||||
# Clearnet config
|
|
||||||
#
|
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
|
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
|
||||||
StandardOutput=null
|
StandardOutput=null
|
||||||
StandardError=null
|
StandardError=null
|
||||||
|
|
||||||
# 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
|
|
||||||
## monerod 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/monerod --config-file /etc/monerod.conf \
|
|
||||||
# --non-interactive
|
|
||||||
|
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user