Created
April 22, 2020 14:55
-
-
Save tasdikrahman/6eccff66192b81e6f264391caa7bdb9f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description = Etcd Application Container Engine | |
Documentation = https://coreos.com/etcd | |
After = network.target | |
[Service] | |
Type = notify | |
ExecStart = /usr/bin/etcd -name=default -advertise-client-urls=http://<NODE_IP>:2379 -data-dir=/default.etcd -debug=false -auto-compaction-retention=6 -enable-v2=true -force-new-cluster=false -initial-advertise-peer-urls=http://<NODE_IP>:2380 -initial-cluster=default=http://<NODE_IP>:2380 -listen-client-urls=http://0.0.0.0:2379 -listen-peer-urls=http://0.0.0.0:2380 -auto-tls=false -peer-auto-tls=false -enable-pprof=false -metrics=basic -auth-token=simple | |
Restart = always | |
RestartSec = 10s | |
LimitNOFILE = 1048576 | |
LimitNPROC = 1048576 | |
LimitCORE = infinity | |
TimeoutStartSec = 120 | |
User = etcd | |
[Install] | |
WantedBy = multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment