chmod -R 777 /var/lib/etcd

systemctl daemon-reload

cat /etc/systemd/system/etcd.service

"

[Unit]
Description=Etcd Server
After=network.target
[Service]
Type=notify
WorkingDirectory=/var/lib/etcd/
EnvironmentFile=-/etc/etcd/etcd.conf
User=etcd
ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/bin/etcd"
Restart=on-failure
LimitNOFILE=6006
[Install]
WantedBy=multi-user.targe

"

相关文章:

  • 2021-08-25
  • 2022-02-19
  • 2021-10-28
  • 2022-12-23
  • 2021-12-29
  • 2021-11-27
  • 2021-07-09
  • 2021-12-25
猜你喜欢
  • 2021-06-20
  • 2022-12-23
  • 2021-08-27
  • 2021-11-03
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案