aboutsummaryrefslogtreecommitdiff
path: root/contrib/rpm
diff options
context:
space:
mode:
authorFerdinando M. Ametrano <fametrano@users.noreply.github.com>2017-07-14 16:47:10 +0200
committerFerdinando M. Ametrano <ferdinando@ametrano.net>2017-08-04 10:27:41 +0200
commitce3baa193f32078d850945f8c6d5ecb3796adb3b (patch)
tree7e5e660c41a5626e55e099f45bae2637e1b2b499 /contrib/rpm
parente222618a32a16cf0efae392e6349c10c38e57db6 (diff)
changed regtest RPCport to 18443 to avoid conflict with testnet 18332
Diffstat (limited to 'contrib/rpm')
-rw-r--r--contrib/rpm/bitcoin.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/rpm/bitcoin.spec b/contrib/rpm/bitcoin.spec
index cc54fcaf3d..7c4d933ee0 100644
--- a/contrib/rpm/bitcoin.spec
+++ b/contrib/rpm/bitcoin.spec
@@ -336,6 +336,8 @@ done
%{_sbindir}/semanage port -a -t bitcoin_port_t -p tcp 8333
%{_sbindir}/semanage port -a -t bitcoin_port_t -p tcp 18332
%{_sbindir}/semanage port -a -t bitcoin_port_t -p tcp 18333
+%{_sbindir}/semanage port -a -t bitcoin_port_t -p tcp 18443
+%{_sbindir}/semanage port -a -t bitcoin_port_t -p tcp 18444
%{_sbindir}/fixfiles -R bitcoin-server restore &> /dev/null || :
%{_sbindir}/restorecon -R %{_localstatedir}/lib/bitcoin || :
fi
@@ -355,6 +357,8 @@ if [ $1 -eq 0 ]; then
%{_sbindir}/semanage port -d -p tcp 8333
%{_sbindir}/semanage port -d -p tcp 18332
%{_sbindir}/semanage port -d -p tcp 18333
+ %{_sbindir}/semanage port -d -p tcp 18443
+ %{_sbindir}/semanage port -d -p tcp 18444
for selinuxvariant in %{selinux_variants}; do
%{_sbindir}/semodule -s ${selinuxvariant} -r bitcoin &> /dev/null || :
done