aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bitcoin/bitcoin.pre-install
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2014-06-24 22:11:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-25 14:46:04 +0000
commit0e05b58d1e8dfe579949be7ab83b4ba698214bf3 (patch)
tree8c1eceaf8f013fb003be277f818be4e05b30c0b2 /testing/bitcoin/bitcoin.pre-install
parentc1238794b6c5fdb908a474366e3565660213c6f9 (diff)
downloadaports-0e05b58d1e8dfe579949be7ab83b4ba698214bf3.tar.gz
aports-0e05b58d1e8dfe579949be7ab83b4ba698214bf3.tar.bz2
aports-0e05b58d1e8dfe579949be7ab83b4ba698214bf3.tar.xz
testing/bitcoin: update to 0.9.2.1
Environment patch removed as merged upstream as function SetupEnvironment() Init script added so Bitcoin runs as user Bitcoin.
Diffstat (limited to 'testing/bitcoin/bitcoin.pre-install')
-rw-r--r--testing/bitcoin/bitcoin.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/bitcoin/bitcoin.pre-install b/testing/bitcoin/bitcoin.pre-install
new file mode 100644
index 0000000000..f020a8bd73
--- /dev/null
+++ b/testing/bitcoin/bitcoin.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+addgroup -S bitcoin 2>/dev/null
+adduser -S -H -h /var/lib/bitcoin -g bitcoin -G bitcoin -D -s /sbin/nologin bitcoin 2>/dev/null
+exit 0
+