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
This commit is contained in:
Martin Pluskal 2020-03-11 15:12:03 +00:00 committed by Git OBS Bridge
parent d95cd02efb
commit cfe29965b0
2 changed files with 8 additions and 1 deletions

View File

@ -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>

View File

@ -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