systemd: Don't use Type=forking
This commit is contained in:
parent
836067b68b
commit
d3e7c5a8ba
|
@ -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
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue