centos etcd 启动失败

原文链接: http://www.cnblogs.com/S--S/p/10420438.html

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

"

转载于:https://www.cnblogs.com/S--S/p/10420438.html

猜你喜欢

转载自blog.csdn.net/weixin_30279315/article/details/94834509