forked from pool/bitcoin
cfe29965b0
- 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
15 lines
346 B
Desktop File
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
|