Accepting request 973908 from devel:kubic
OBS-URL: https://build.opensuse.org/request/show/973908 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/etcd?expand=0&rev=32
This commit is contained in:
commit
6722eb1aa2
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 28 13:35:37 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
- add variable ETCD_OPTIONS to both service unit and configuration file
|
||||||
|
this allows the user to easily add things like "--enable-v2=true"
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 20 13:18:23 UTC 2022 - eroca@suse.com
|
Wed Apr 20 13:18:23 UTC 2022 - eroca@suse.com
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# set commandline options
|
||||||
|
# example: ETCD_OPTIONS="--enable-v2=true" to enable the v2 API
|
||||||
|
#ETCD_OPTIONS=
|
||||||
|
|
||||||
# [member]
|
# [member]
|
||||||
ETCD_NAME=default
|
ETCD_NAME=default
|
||||||
ETCD_DATA_DIR="/var/lib/etcd/default.etcd"
|
ETCD_DATA_DIR="/var/lib/etcd/default.etcd"
|
||||||
|
@ -23,7 +23,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"
|
ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/sbin/etcd $ETCD_OPTIONS"
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
LimitNOFILE=65536
|
LimitNOFILE=65536
|
||||||
Nice=-10
|
Nice=-10
|
||||||
|
Loading…
Reference in New Issue
Block a user