18 lines
387 B
Desktop File
18 lines
387 B
Desktop File
[Unit]
|
|
Description=Bitcoin daemon
|
|
|
|
[Service]
|
|
ExecStartPre=/bin/sh -c 'sleep 30'
|
|
ExecStart=/usr/bin/bitcoind -daemon -conf=/home/bitcoind/.bitcoin/bitcoin.conf -pid=/home/bitcoind/.bitcoin/bitcoind.pid
|
|
PIDFile=/home/bitcoind/.bitcoin/bitcoind.pid
|
|
User=bitcoind
|
|
Group=bitcoind
|
|
Type=forking
|
|
KillMode=process
|
|
Restart=always
|
|
TimeoutSec=120
|
|
RestartSec=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|