systemd: Don't use Type=forking

This commit is contained in:
Nathan Dorfman 2020-09-08 09:36:26 -06:00
parent 836067b68b
commit d3e7c5a8ba

View File

@ -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
#