commit:     702b2efd3531fa4856d896132aad486557836d3d
Author:     Zac Medico <zachary.medico <AT> sony <DOT> com>
AuthorDate: Mon Jul 15 19:30:42 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 19:36:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=702b2efd

app-admin/consul: remove GOMAXPROCS from conf.d file and systemd unit

This hasn't been needed since consul-0.6.0.

See: https://github.com/hashicorp/consul/issues/1679
Copyright: Sony Interactive Entertainment Inc.
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-admin/consul/files/consul.confd   | 3 ---
 app-admin/consul/files/consul.service | 1 -
 2 files changed, 4 deletions(-)

diff --git a/app-admin/consul/files/consul.confd 
b/app-admin/consul/files/consul.confd
index b15e19c7701..d2ed781b383 100644
--- a/app-admin/consul/files/consul.confd
+++ b/app-admin/consul/files/consul.confd
@@ -5,6 +5,3 @@
 
 # extra arguments for the consul agent
 command_args="-config-dir=/etc/consul.d"
-
-# upstream strongly recommends > 1
-GOMAXPROCS=2

diff --git a/app-admin/consul/files/consul.service 
b/app-admin/consul/files/consul.service
index 967b30b3b32..be897bcf8e9 100644
--- a/app-admin/consul/files/consul.service
+++ b/app-admin/consul/files/consul.service
@@ -5,7 +5,6 @@ After=network-online.target
 
 [Service]
 User=consul
-Environment=GOMAXPROCS=2
 Environment=CONSUL_AGENT_OPTS="-config-dir=/etc/consul.d"
 ExecStart=/usr/bin/consul agent $CONSUL_AGENT_OPTS
 Restart=on-failure

Reply via email to