Skip to content

Commit

Permalink
Update etcd.service.j2 (#823)
Browse files Browse the repository at this point in the history
etcd 新增参数配置
  • Loading branch information
piano-wow committed Mar 30, 2020
1 parent 7916344 commit 48c146e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roles/etcd/templates/etcd.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ ExecStart={{ bin_dir }}/etcd \
--initial-cluster-token=etcd-cluster-0 \
--initial-cluster={{ ETCD_NODES }} \
--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
RestartSec=5
LimitNOFILE=65536
Expand Down

0 comments on commit 48c146e

Please sign in to comment.