aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-10-13 10:37:10 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-10-13 10:37:10 -0500
commit6ca2032fd718c75f906ae13e0ddb8911bc8531a3 (patch)
tree8b8820dae286784e2dd3ed3788b605996515a2c6
parentMerge pull request #6841 (diff)
parentsystemd: Don't use Type=forking (diff)
downloadmonero-6ca2032fd718c75f906ae13e0ddb8911bc8531a3.tar.xz
Merge pull request #6808
d3e7c5a systemd: Don't use Type=forking (ndorf)
-rw-r--r--utils/systemd/monerod.service9
1 files changed, 4 insertions, 5 deletions
diff --git a/utils/systemd/monerod.service b/utils/systemd/monerod.service
index dbb9e8aaa..c89e31f8c 100644
--- a/utils/systemd/monerod.service
+++ b/utils/systemd/monerod.service
@@ -6,16 +6,15 @@ After=network.target
User=monero
Group=monero
WorkingDirectory=~
-RuntimeDirectory=monero
StateDirectory=monero
LogsDirectory=monero
# Clearnet config
#
-Type=forking
-PIDFile=/run/monero/monerod.pid
-ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf \
- --detach --pidfile /run/monero/monerod.pid
+Type=simple
+ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
+StandardOutput=null
+StandardError=null
# Tor config
#