diff options
author | Ferdinando M. Ametrano <fametrano@users.noreply.github.com> | 2017-07-14 16:47:10 +0200 |
---|---|---|
committer | Ferdinando M. Ametrano <ferdinando@ametrano.net> | 2017-08-04 10:27:41 +0200 |
commit | ce3baa193f32078d850945f8c6d5ecb3796adb3b (patch) | |
tree | 7e5e660c41a5626e55e099f45bae2637e1b2b499 /contrib/rpm | |
parent | e222618a32a16cf0efae392e6349c10c38e57db6 (diff) |
changed regtest RPCport to 18443 to avoid conflict with testnet 18332
Diffstat (limited to 'contrib/rpm')
-rw-r--r-- | contrib/rpm/bitcoin.spec | 4 |
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 |