Accepting request 886120 from home:dirkmueller:Factory

- update etcd.service: avoid args from commandline and environment
  as it leads to start failure (bsc#1183703)

OBS-URL: https://build.opensuse.org/request/show/886120
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/etcd?expand=0&rev=13
This commit is contained in:
Alexandre Vicenzi 2021-04-19 08:24:42 +00:00 committed by Git OBS Bridge
parent 2e596a935e
commit 54f56659b2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 16 20:34:06 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update etcd.service: avoid args from commandline and environment
as it leads to start failure (bsc#1183703)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 03 13:50:06 UTC 2021 - alexandre.vicenzi@suse.com Wed Mar 03 13:50:06 UTC 2021 - alexandre.vicenzi@suse.com

View File

@ -10,7 +10,7 @@ WorkingDirectory=/var/lib/etcd/
EnvironmentFile=-/etc/sysconfig/etcd EnvironmentFile=-/etc/sysconfig/etcd
User=etcd User=etcd
# set GOMAXPROCS to number of processors # set GOMAXPROCS to number of processors
ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/sbin/etcd --name=\"${ETCD_NAME}\" --data-dir=\"${ETCD_DATA_DIR}\" --listen-client-urls=\"${ETCD_LISTEN_CLIENT_URLS}\"" ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/sbin/etcd"
Restart=on-failure Restart=on-failure
LimitNOFILE=65536 LimitNOFILE=65536
Nice=-10 Nice=-10