7

I've setup the systemd service:

$ cat /etc/systemd/system/monerod.service 
[Unit]
Description=Starts Monero Node

[Install]
WantedBy=multi-user.target

[Service]
Type=simple
After=networking.service
ExecStart=/usr/local/bin/monero-v0.10.3.1/monerod --config-file /etc/bitmonero.conf

But it fails to start with:

Jul 10 18:19:09 uminer systemd[1]: monerod.service: Main process exited, code=exited, status=1/FAILURE
Jul 10 18:19:09 uminer systemd[1]: monerod.service: Unit entered failed state.
Jul 10 18:19:09 uminer systemd[1]: monerod.service: Failed with result 'exit-code'.

UPD: I also tried '--non-interactive' option, but it didn't help.

beemaster
  • 111
  • 1
  • 7

1 Answers1

4

In the dev's conf there was mentioned that the 'GuessMainPID=no' of the service file is necessary. The sample service file is here.

beemaster
  • 111
  • 1
  • 7