Skip to content

Commit

Permalink
systemd: remove outdated torsocks example
Browse files Browse the repository at this point in the history
  • Loading branch information
selsta committed Feb 8, 2022
1 parent 9aab19f commit 14eb42d
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions utils/systemd/monerod.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,11 @@ WorkingDirectory=~
StateDirectory=monero
LogsDirectory=monero

# Clearnet config
#
Type=simple
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
StandardOutput=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

[Install]
Expand Down

0 comments on commit 14eb42d

Please sign in to comment.