app-admin/consul: remove GOMAXPROCS from conf.d file and systemd unit
authorZac Medico <zachary.medico@sony.com>
Mon, 15 Jul 2019 19:30:42 +0000 (12:30 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 15 Jul 2019 19:36:06 +0000 (12:36 -0700)
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@gentoo.org>
app-admin/consul/files/consul.confd
app-admin/consul/files/consul.service

index b15e19c770139c96631791ea5d085319c3bdcd52..d2ed781b3837aa957fe89bf2881cb042998fb863 100644 (file)
@@ -5,6 +5,3 @@
 
 # extra arguments for the consul agent
 command_args="-config-dir=/etc/consul.d"
-
-# upstream strongly recommends > 1
-GOMAXPROCS=2
index 967b30b3b329e6a8d16fe2fb27e9e8e73234138b..be897bcf8e97d4e8f3d6870bd290ad3b0562c267 100644 (file)
@@ -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