23 lines
467 B
23 lines
467 B
11 years ago
|
[Unit]
|
||
|
Description=Bitcoin's distributed currency daemon
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
11 years ago
|
User=bitcoin
|
||
|
Group=bitcoin
|
||
11 years ago
|
|
||
|
Type=forking
|
||
|
PIDFile=/var/lib/bitcoind/bitcoind.pid
|
||
11 years ago
|
ExecStart=/usr/bin/bitcoind -daemon -pid=/var/lib/bitcoind/bitcoind.pid \
|
||
|
-conf=/etc/bitcoin/bitcoin.conf -datadir=/var/lib/bitcoind -disablewallet
|
||
11 years ago
|
|
||
|
Restart=always
|
||
|
PrivateTmp=true
|
||
11 years ago
|
TimeoutStopSec=60s
|
||
|
TimeoutStartSec=2s
|
||
|
StartLimitInterval=120s
|
||
|
StartLimitBurst=5
|
||
11 years ago
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|