[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemd can't start a dæmon and doesn't give any error either

El lun., 8 oct. 2018 a las 20:44, Dan Ritter (<dsr@randomstring.org>) escribió:
> Remove the -daemon flag here and try again.
> Supervision services like systemd usually prefer daemons to be running
> in the foreground.

Thanks for the advice!

The problem seems to be elsewhere:

# grep bitcoind /etc/systemd/system/bitcoin.service
ExecStart=/usr/local/bin/bitcoind -printtoconsole
# systemctl start bitcoin.service
# pgrep bitcoin || echo failed

# journalctl -u bitcoin.service
-- Logs begin at Mon 2018-10-08 03:53:55 BST, end at Mon 2018-10-08 13:53:12 BST
Oct 08 13:51:57 lightning systemd[1]: Started bitcoind.
Oct 08 13:52:03 lightning systemd[1]: Started bitcoind.

Now, since normally bitcoind print a line like this:

$ /usr/local/bin/bitcoind
Bitcoin server starting

If systemd is honestly recording the output some line like this should
be found in the syslog since I configured


But syslog simply mentioned this and nothing more:

Oct  8 13:58:52 lightning systemd[1]: Started bitcoind.

Reply to: