summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-02-19 00:00:02 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-02-19 00:00:02 +0100
commit3ab664b328fac9c710a80ab2119856a9167da5f3 (patch)
tree7211fde99b3cb24477953942308894a02754ad20 /net-p2p/primecoind/files/primecoin.initd-r1
parentdev-util/bazel: remove old versions (diff)
downloadgentoo-3ab664b328fac9c710a80ab2119856a9167da5f3.tar.gz
gentoo-3ab664b328fac9c710a80ab2119856a9167da5f3.tar.bz2
gentoo-3ab664b328fac9c710a80ab2119856a9167da5f3.zip
profiles: Remove last-rited net-p2p/{doge,prime}coin*
Closes: https://bugs.gentoo.org/520070 Closes: https://bugs.gentoo.org/555082 Closes: https://bugs.gentoo.org/643994 Closes: https://bugs.gentoo.org/644312
Diffstat (limited to 'net-p2p/primecoind/files/primecoin.initd-r1')
-rw-r--r--net-p2p/primecoind/files/primecoin.initd-r128
1 files changed, 0 insertions, 28 deletions
diff --git a/net-p2p/primecoind/files/primecoin.initd-r1 b/net-p2p/primecoind/files/primecoin.initd-r1
deleted file mode 100644
index 936902b342a..00000000000
--- a/net-p2p/primecoind/files/primecoin.initd-r1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-vardir="/var/lib/primecoin"
-conffile="${vardir}/.primecoin/primecoin.conf"
-primecoind_user="${PRIMECOIN_USER:-nobody:nobody}"
-
-description="Bitcoin crypto-currency wallet for automated services"
-pidfile="/run/${SVCNAME}.pid"
-command="/usr/bin/primecoind"
-command_args="${PRIMECOIN_OPTS}"
-command_background="true"
-start_stop_daemon_args="-u ${primecoind_user} -e HOME=${vardir} -N ${NICELEVEL:-0} -w 2000"
-
-depend() {
- need net
-}
-
-start_pre() {
- checkpath -f -o ${primecoind_user} -m 0400 ${conffile} || return 1
-
- if ! grep -q '^rpcpassword=' "${conffile}"; then
- eerror "Please edit `readlink -f ${conffile}`"
- eerror "There must be at least a line assigning rpcpassword=something-secure"
- return 1
- fi
-}