From d3e7c5a8ba1dc7acfbc106f758267840d02f3684 Mon Sep 17 00:00:00 2001 From: Nathan Dorfman Date: Tue, 8 Sep 2020 09:36:26 -0600 Subject: [PATCH] systemd: Don't use Type=forking --- utils/systemd/monerod.service | 9 ++++----- 1 file 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 #