The hardening measure ProtectSystem=full makes /etc read-only along with its subdirectories, including /etc/bitcoin. That prevents bitcoind from launching successfully when it finds it cannot write to /etc/bitcoin/debug.log and such.
Exempt /etc/bitcoin with the directive ReadWritePaths=/etc/bitcoin
To verify this change:
- Log in as root.
- Copy
bitcoind.serviceto the relevant directory for your OS, e.g.:
$ cp bitcoind.service /lib/systemd/system/bitcoind.service
- Reload systemd's daemon configs, enable, and start bitcoind through systemd:
$ sudo systemctl daemon-reload
$ sudo systemctl enable bitcoind
$ sudo systemctl start bitcoind
- Verify that bitcoind launched successfully:
$ sudo systemctl status bitcoind.service
* bitcoind.service - Bitcoin daemon
Loaded: loaded (/lib/systemd/system/bitcoind.service; enabled; vendor preset:
Active: active (running) since