https://github.com/etcd-io/etcd
Raw File
Tip revision: 7749649cd1d62e24b91b876ff8552edc9c8d98da authored by Benjamin Wang on 21 August 2024, 10:43:41 UTC
Merge pull request #18474 from fuweid/35-backport-18274-part3
Tip revision: 7749649
etcd.service
[Unit]
Description=etcd key-value store
Documentation=https://github.com/etcd-io/etcd
After=network-online.target local-fs.target remote-fs.target time-sync.target
Wants=network-online.target local-fs.target remote-fs.target time-sync.target

[Service]
User=etcd
Type=notify
Environment=ETCD_DATA_DIR=/var/lib/etcd
Environment=ETCD_NAME=%m
ExecStart=/usr/bin/etcd
Restart=always
RestartSec=10s
LimitNOFILE=40000

[Install]
WantedBy=multi-user.target
back to top