diff options
author | Andrew DeMaria | 2015-08-16 16:25:36 -0500 |
---|---|---|
committer | Andrew DeMaria | 2015-08-16 16:25:36 -0500 |
commit | fe68456154b803f67ec91310d032cd8b997733ec (patch) | |
tree | b89defc5c27b5287177c9f0d567e4cfb36764057 /bitcoin.service | |
download | aur-fe68456154b803f67ec91310d032cd8b997733ec.tar.gz |
first commit
Diffstat (limited to 'bitcoin.service')
-rw-r--r-- | bitcoin.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bitcoin.service b/bitcoin.service new file mode 100644 index 000000000000..fda8f3270508 --- /dev/null +++ b/bitcoin.service @@ -0,0 +1,17 @@ +[Unit] +Description=Bitcoin Daemon +Conflicts=bitcoin-reindex.service +After=network.target + +[Service] +User=bitcoin +Group=bitcoin +ExecStart=/usr/bin/bitcoind -daemon=0 \ + -conf=/etc/bitcoin/bitcoin.conf \ + -datadir=/srv/bitcoin \ + -pid=/run/bitcoind.pid +ExecReload=/usr/bin/kill -HUP $MAINPID +ExecStop=/usr/bin/bitcoind stop + +[Install] +WantedBy=multi-user.target |