Skip to content

Commit

Permalink
fix: etcd
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan4yin committed Oct 16, 2023
1 parent 8e8d419 commit 49ca1fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datastore/etcd/etcd_with_systemd.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ WantedBy=multi-user.target
然后在三个节点上分别运行如下指令,即可启动一个 etcd 集群:

```shell
ln -s /data/etcd.service /usr/lib/systemd/system/etcd.service
# 注意这里不能用 `ln -s`,会导致系统重启后 systemd 无法识别,报很奇怪的错误!
cp /data/etcd.service /usr/lib/systemd/system/etcd.service
systemctl daemon-reload
systemctl enable etcd
systemctl start etcd
Expand Down

0 comments on commit 49ca1fa

Please sign in to comment.