systemd can't start a dæmon and doesn't give any error either
- Date: Mon, 8 Oct 2018 18:17:52 +0800
- From: Weiwu Zhang <a@xxxxxxxxxxxxxx>
- Subject: systemd can't start a dæmon and doesn't give any error either
To show this dæmon itself is properly configured and runs fine on Debian 9.5:
# su bitcoin
$ /usr/local/bin/bitcoind -daemon
Bitcoin server starting
$ pgrep bitcoind
However, it won't start if converted to a systemd service:
# cat /etc/systemd/system/bitcoin.service
# systemctl enable bitcoin.service
# systemctl start bitcoin.service
# pgrep bitcoind || echo "not working"
There were no error messages:
# journalctl -u bitcoin.service
-- Logs begin at Mon 2018-10-08 03:53:55 BST, end at Mon 2018-10-08 11:14:47 BST
Oct 08 11:08:54 lightning systemd: Started bitcoind.
There weren't error messages even if I add these in
I assume this question is best addressed in Debian list because
normally bitcoind would through some error message. No error message
could mean the whole command isn't executed.