Update etcd.service.j2 (#823)

etcd 新增参数配置
pull/824/head
piano 2020-03-30 11:01:55 +08:00 committed by GitHub
parent 7916344997
commit 48c146e12d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -23,7 +23,11 @@ ExecStart={{ bin_dir }}/etcd \
--initial-cluster-token=etcd-cluster-0 \ --initial-cluster-token=etcd-cluster-0 \
--initial-cluster={{ ETCD_NODES }} \ --initial-cluster={{ ETCD_NODES }} \
--initial-cluster-state={{ CLUSTER_STATE }} \ --initial-cluster-state={{ CLUSTER_STATE }} \
--data-dir=/var/lib/etcd --data-dir=/var/lib/etcd \
--auto-compaction-retention=1 \
--max-request-bytes=10485760 \
--quota-backend-bytes=8589934592
Restart=on-failure
Restart=always Restart=always
RestartSec=5 RestartSec=5
LimitNOFILE=65536 LimitNOFILE=65536