bitcoin/bitcoind.service

15 lines
348 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Bitcoin Daemon
Requires=network.target
After=network.target
[Service]
User=bitcoin
Type=forking
PIDFile=/run/bitcoin/bitcoind.pid
ExecStart=/usr/bin/bitcoind -daemon -conf=/etc/bitcoin/bitcoin.conf -pid=/run/bitcoin/bitcoind.pid -datadir=/var/lib/bitcoin
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target