2014-07-23 11:10:01 -07:00
|
|
|
[Unit]
|
|
|
|
Description=Bitcoin's distributed currency daemon
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2014-07-31 08:56:17 -07:00
|
|
|
User=bitcoin
|
|
|
|
Group=bitcoin
|
2014-07-23 11:10:01 -07:00
|
|
|
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/var/lib/bitcoind/bitcoind.pid
|
2014-07-31 08:56:17 -07:00
|
|
|
ExecStart=/usr/bin/bitcoind -daemon -pid=/var/lib/bitcoind/bitcoind.pid \
|
|
|
|
-conf=/etc/bitcoin/bitcoin.conf -datadir=/var/lib/bitcoind -disablewallet
|
2014-07-23 11:10:01 -07:00
|
|
|
|
|
|
|
Restart=always
|
|
|
|
PrivateTmp=true
|
2014-07-31 08:56:17 -07:00
|
|
|
TimeoutStopSec=60s
|
|
|
|
TimeoutStartSec=2s
|
|
|
|
StartLimitInterval=120s
|
|
|
|
StartLimitBurst=5
|
2014-07-23 11:10:01 -07:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|