From cfe29965b0285cf967e69b0ba3be70ec3f1e263e71dcfe3c14d80c5a9666fb13 Mon Sep 17 00:00:00 2001
From: Martin Pluskal <mpluskal@suse.com>
Date: Wed, 11 Mar 2020 15:12:03 +0000
Subject: [PATCH] Accepting request 783839 from
 home:mrostecki:branches:network:cryptocurrencies

- 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).

OBS-URL: https://build.opensuse.org/request/show/783839
OBS-URL: https://build.opensuse.org/package/show/network:cryptocurrencies/bitcoin?expand=0&rev=27
---
 bitcoin.changes  | 7 +++++++
 bitcoind.service | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

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 <mrostecki@opensuse.org>
+
+- 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 <mrostecki@opensuse.org>
 
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