Re: systemd can't start a dæmon and doesn't give any error either
- Date: Mon, 8 Oct 2018 21:00:24 +0800
- From: Weiwu Zhang <a@xxxxxxxxxxxxxx>
- Subject: 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@xxxxxxxxxxxxxxxx>) 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
# 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: Started bitcoind.
Oct 08 13:52:03 lightning systemd: Started bitcoind.
Now, since normally bitcoind print a line like this:
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: Started bitcoind.