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
1 changed files with 4 additions and 5 deletions

View File

@ -6,16 +6,15 @@ After=network.target
User=monero User=monero
Group=monero Group=monero
WorkingDirectory=~ WorkingDirectory=~
RuntimeDirectory=monero
StateDirectory=monero StateDirectory=monero
LogsDirectory=monero LogsDirectory=monero
# Clearnet config # Clearnet config
# #
Type=forking Type=simple
PIDFile=/run/monero/monerod.pid ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf \ StandardOutput=null
--detach --pidfile /run/monero/monerod.pid StandardError=null
# Tor config # Tor config
# #