Remove non-local jmx access

This commit is contained in:
Ben Edwards 2015-12-05 14:53:40 +00:00
parent 7db7d80a98
commit c8d5e8b1b8
4 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,9 @@
# Generated by mksrcinfo v8
# Sat Dec 5 14:48:41 UTC 2015
pkgbase = zookeeper pkgbase = zookeeper
pkgdesc = Open-source server which enables highly reliable distributed coordination pkgdesc = Open-source server which enables highly reliable distributed coordination
pkgver = 3.4.6 pkgver = 3.4.6
pkgrel = 7 pkgrel = 8
url = https://zookeeper.apache.org/ url = https://zookeeper.apache.org/
install = install_zookeeper.sh install = install_zookeeper.sh
arch = any arch = any
@ -10,14 +12,14 @@ pkgbase = zookeeper
backup = etc/zookeeper/configuration.xsl backup = etc/zookeeper/configuration.xsl
backup = etc/zookeeper/log4j.properties backup = etc/zookeeper/log4j.properties
backup = etc/zookeeper/zoo.cfg backup = etc/zookeeper/zoo.cfg
source = http://mirrors.advancedhosters.com/apache///zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz source = http://mirrors.ukfast.co.uk/sites/ftp.apache.org///zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz
source = systemd_zookeeper.service source = systemd_zookeeper.service
source = systemd_zookeeper@.service source = systemd_zookeeper@.service
source = systemd_sysusers.d_zookeeper.conf source = systemd_sysusers.d_zookeeper.conf
source = systemd_tmpfiles.d_zookeeper.conf source = systemd_tmpfiles.d_zookeeper.conf
sha256sums = 01b3938547cd620dc4c93efe07c0360411f4a66962a70500b163b59014046994 sha256sums = 01b3938547cd620dc4c93efe07c0360411f4a66962a70500b163b59014046994
sha256sums = 0235413122567a4810ce4aeb8b4b41a749ca69b1ee79e1d225b811febd92dfed sha256sums = b59e0641de1951ad149ca39df5b5ec37dc6229f1aa987b0ed9d7e82e570be9ed
sha256sums = 6727641f542b3a483c31cdbda30101ac41397b725c6b3e706932f04bc51af907 sha256sums = a3fd2566648f57c0cdd75cd48b7b60fa55eb59ee67dd716de1e1aa6a57823b88
sha256sums = e863b63650c15a8823cfb2b507c375c999a71cda24805062de36af0250de5daa sha256sums = e863b63650c15a8823cfb2b507c375c999a71cda24805062de36af0250de5daa
sha256sums = 99fff5b04623889b0010c74c2dc3a4be29e7770fe2c7e15da51f7442a28c6580 sha256sums = 99fff5b04623889b0010c74c2dc3a4be29e7770fe2c7e15da51f7442a28c6580

View File

@ -4,7 +4,7 @@
# Contributor: Guillaume ALAUX <guillaume at alaux dot net> # Contributor: Guillaume ALAUX <guillaume at alaux dot net>
pkgname=zookeeper pkgname=zookeeper
pkgver=3.4.6 pkgver=3.4.6
pkgrel=7 pkgrel=8
pkgdesc='Open-source server which enables highly reliable distributed coordination' pkgdesc='Open-source server which enables highly reliable distributed coordination'
arch=('any') arch=('any')
url='https://zookeeper.apache.org/' url='https://zookeeper.apache.org/'
@ -25,8 +25,8 @@ source=(${_closest}/${_app_path}
systemd_tmpfiles.d_zookeeper.conf) systemd_tmpfiles.d_zookeeper.conf)
sha256sums=('01b3938547cd620dc4c93efe07c0360411f4a66962a70500b163b59014046994' sha256sums=('01b3938547cd620dc4c93efe07c0360411f4a66962a70500b163b59014046994'
'0235413122567a4810ce4aeb8b4b41a749ca69b1ee79e1d225b811febd92dfed' 'b59e0641de1951ad149ca39df5b5ec37dc6229f1aa987b0ed9d7e82e570be9ed'
'6727641f542b3a483c31cdbda30101ac41397b725c6b3e706932f04bc51af907' 'a3fd2566648f57c0cdd75cd48b7b60fa55eb59ee67dd716de1e1aa6a57823b88'
'e863b63650c15a8823cfb2b507c375c999a71cda24805062de36af0250de5daa' 'e863b63650c15a8823cfb2b507c375c999a71cda24805062de36af0250de5daa'
'99fff5b04623889b0010c74c2dc3a4be29e7770fe2c7e15da51f7442a28c6580') '99fff5b04623889b0010c74c2dc3a4be29e7770fe2c7e15da51f7442a28c6580')

View File

@ -12,7 +12,6 @@ ExecStart=/usr/bin/java \
-cp /usr/share/java/zookeeper/* \ -cp /usr/share/java/zookeeper/* \
-Dlog4j.configuration=file:/etc/zookeeper/log4j.properties \ -Dlog4j.configuration=file:/etc/zookeeper/log4j.properties \
-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.local.only=false \
org.apache.zookeeper.server.quorum.QuorumPeerMain \ org.apache.zookeeper.server.quorum.QuorumPeerMain \
/etc/zookeeper/zoo.cfg /etc/zookeeper/zoo.cfg

View File

@ -12,7 +12,6 @@ ExecStart=/usr/bin/java \
-cp /usr/share/java/zookeeper/* \ -cp /usr/share/java/zookeeper/* \
-Dlog4j.configuration=file:/etc/zookeeper/zookeeper-%i/log4j.properties \ -Dlog4j.configuration=file:/etc/zookeeper/zookeeper-%i/log4j.properties \
-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.local.only=false \
org.apache.zookeeper.server.quorum.QuorumPeerMain \ org.apache.zookeeper.server.quorum.QuorumPeerMain \
/etc/zookeeper/zookeeper-%i/zoo.cfg /etc/zookeeper/zookeeper-%i/zoo.cfg