aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-07-30 10:08:36 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-30 10:08:43 +0200
commit51cb5468862fb7f6d9ac2ae3a1bdb48a8b339ff7 (patch)
treeee7d934a200ebc909b8281cedee86702070cf596 /contrib
parentb45e782071c1aa86495feac88c5e75f995fe3b45 (diff)
parent0c3e1019665edb6c456f9640307231863db2835f (diff)
Merge pull request #4577
0c3e101 Added systemd .service file in order to help distributions integrate bitcoind. (Aitor Pazos)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/systemd/bitcoind.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/systemd/bitcoind.service b/contrib/systemd/bitcoind.service
new file mode 100644
index 0000000000..edc81cc763
--- /dev/null
+++ b/contrib/systemd/bitcoind.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Bitcoin's distributed currency daemon
+After=network.target
+
+[Service]
+User=bitcoind
+Group=bitcoind
+
+Type=forking
+PIDFile=/var/lib/bitcoind/bitcoind.pid
+ExecStart=/usr/bin/bitcoind -daemon -pid=/var/lib/bitcoind/bitcoind.pid -conf=/etc/bitcoind.conf -datadir=/var/lib/bitcoind
+
+Restart=always
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target