diff options
| author | ctp-tsteenholdt <[email protected]> | 2018-04-20 08:34:12 -0200 |
|---|---|---|
| committer | ctp-tsteenholdt <[email protected]> | 2018-04-20 08:34:12 -0200 |
| commit | 2a87b1b07c5c4f8b9b34747c5f254c2ae1e824bf (patch) | |
| tree | a1751059eac3cc5f8f535188c9f882553c8881a5 /contrib/debian/control | |
| parent | Sync contrib/debian from Matt Corallo's PPA (diff) | |
| download | discoin-2a87b1b07c5c4f8b9b34747c5f254c2ae1e824bf.tar.xz discoin-2a87b1b07c5c4f8b9b34747c5f254c2ae1e824bf.zip | |
Add systemd service for bitcoind
Adding systemd service for bitcoind, to provide for a simpler
out-of-the-box experience.
Configuration file is /etc/bitcoin/bitcoin.conf. This file is a
copy of the sample configuration file.
The service user 'bitcoin' is added during install. Its homedir
is in '/var/lib/bitcoin'.
bitcoind.service is disabled by default to allow the user to
configure it, before starting it the first time.
On package purge, the 'bitcoin' user as well as its homedir is
left intact, to not accidentally remove a wallet or something of
equal importance. Instead the user is presented with information
on how to perform the cleanup manually, after making sure all
important data has been backed up.
Diffstat (limited to 'contrib/debian/control')
| -rw-r--r-- | contrib/debian/control | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/debian/control b/contrib/debian/control index b7ca999ba..ffb56f9ea 100644 --- a/contrib/debian/control +++ b/contrib/debian/control @@ -25,7 +25,8 @@ Build-Depends: debhelper, libqrencode-dev, libprotobuf-dev, protobuf-compiler, python, - libzmq3-dev + libzmq3-dev, + dh-systemd Standards-Version: 3.9.2 Homepage: https://bitcoincore.org/ Vcs-Git: git://github.com/bitcoin/bitcoin.git @@ -33,7 +34,7 @@ Vcs-Browser: https://github.com/bitcoin/bitcoin Package: bitcoind Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser Description: peer-to-peer network based digital currency - daemon Bitcoin is a free open source peer-to-peer electronic cash system that is completely decentralized, without the need for a central server or |