Created
October 15, 2017 16:26
-
-
Save anonymous/7e1bca97739147d698327d7f3a119992 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Bitcoin's distributed currency daemon | |
After=network.target | |
[Service] | |
User=chris | |
Group=chris | |
Type=forking | |
PIDFile=/home/chris/.bitcoin/bitcoind.pid | |
ExecStart=/home/chris/.bitcoin/bitcoind -daemon -pid=/home/chris/.bitcoin/bitcoind.pid \ | |
-conf=/home/chris/.bitcoin/bitcoin.conf -datadir=/home/chris/.bitcoin/ -disablewallet | |
Restart=always | |
PrivateTmp=true | |
TimeoutStopSec=60s | |
TimeoutStartSec=2s | |
StartLimitInterval=120s | |
StartLimitBurst=5 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's most likely your "ExecStart" line. Fix that like to point to the correct bitcoind executable, and it should work for you. I tested this with a "test" user as you can see below.