aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorNathan Dorfman <ndorf@rtfm.net>2020-09-08 09:36:26 -0600
committerNathan Dorfman <ndorf@rtfm.net>2020-09-08 11:16:43 -0600
commitd3e7c5a8ba1dc7acfbc106f758267840d02f3684 (patch)
tree1f9e8a2bec6b6792f211b82f11941b6252a9b976 /utils
parentMerge pull request #6805 (diff)
downloadmonero-d3e7c5a8ba1dc7acfbc106f758267840d02f3684.tar.xz
systemd: Don't use Type=forking
Diffstat (limited to 'utils')
-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
#