bitcoin/bitcoind.service

15 lines
346 B
SYSTEMD
Raw Normal View History

[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