diff options
author | Aitor Pazos <mail@aitorpazos.es> | 2014-07-23 20:10:01 +0200 |
---|---|---|
committer | Aitor Pazos <mail@aitorpazos.es> | 2014-07-29 19:29:54 +0200 |
commit | 0c3e1019665edb6c456f9640307231863db2835f (patch) | |
tree | b85d2a7102c2794577388b12a16f41acb9c820b4 /contrib | |
parent | d3165ed35adde59bdfbe72928b51a039202fa21e (diff) |
Added systemd .service file in order to help distributions integrate bitcoind.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/systemd/bitcoind.service | 17 |
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 |