SHA256
1
0
forked from pool/bitcoin
bitcoin/bitcoind.service
Martin Pluskal cfe29965b0 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
2020-03-11 15:12:03 +00:00

15 lines
346 B
Desktop File

[Unit]
Description=Bitcoin Daemon
Requires=network.target
After=network.target
[Service]
User=bitcoin
PIDFile=/run/bitcoin/bitcoind.pid
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
[Install]
WantedBy=multi-user.target