aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-03-18 16:30:25 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-03-18 16:30:25 -0500
commit4cb3b422e11d701fc0a5725d545d2a0ce4a65d7c (patch)
treed2f8ff7b4b8e517e31e3173718ed4d3e822e1f02
parentMerge pull request #8169 (diff)
parentsystemd: remove outdated torsocks example (diff)
downloadmonero-4cb3b422e11d701fc0a5725d545d2a0ce4a65d7c.tar.xz
Merge pull request #8170
14eb42d systemd: remove outdated torsocks example (selsta)
-rw-r--r--utils/systemd/monerod.service17
1 files changed, 0 insertions, 17 deletions
diff --git a/utils/systemd/monerod.service b/utils/systemd/monerod.service
index c89e31f8c..63daefa82 100644
--- a/utils/systemd/monerod.service
+++ b/utils/systemd/monerod.service
@@ -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]