diff --git a/bitcoin.changes b/bitcoin.changes index 18075d6..f5a8402 100644 --- a/bitcoin.changes +++ b/bitcoin.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 11 13:25:45 UTC 2020 - Michał Rostecki + +- Do not run bitcoind in daemon mode. Running it not as a + background process makes it working properly with journald + (instead of writing logs in /var/log). + ------------------------------------------------------------------- Mon Mar 9 20:31:46 UTC 2020 - Michał Rostecki diff --git a/bitcoind.service b/bitcoind.service index 73ec54b..62b3f45 100644 --- a/bitcoind.service +++ b/bitcoind.service @@ -6,7 +6,7 @@ After=network.target [Service] User=bitcoin PIDFile=/run/bitcoin/bitcoind.pid -ExecStart=/usr/bin/bitcoind -daemon -conf=/etc/bitcoin/bitcoin.conf -pid=/run/bitcoin/bitcoind.pid -datadir=/var/lib/bitcoin +ExecStart=/usr/bin/bitcoind -conf=/etc/bitcoin/bitcoin.conf -pid=/run/bitcoin/bitcoind.pid -datadir=/var/lib/bitcoin ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure