forked from apone/testgitea
debug
This commit is contained in:
@@ -1,6 +1,14 @@
|
|||||||
echo "==>setup easytier config"
|
echo "==>setup easytier config"
|
||||||
|
|
||||||
sed -i.bak '14curi = "tcp://39.108.52.138:11010";17cnetwork_name = "ctyuntest";18cnetwork_secret = "123456"' /opt/easytier/config/default.conf
|
sed --debug '14curi = "tcp://39.108.52.138:11010";17cnetwork_name = "ctyuntest";18cnetwork_secret = "123456"' /opt/easytier/config/default.conf
|
||||||
|
|
||||||
|
# # 创建 sed 脚本
|
||||||
|
# cat > replace.sed << 'EOF'
|
||||||
|
# 5c新内容1
|
||||||
|
# 8c新内容2
|
||||||
|
# EOF
|
||||||
|
|
||||||
|
# # 执行
|
||||||
|
# sed -i -f replace.sed 文件名
|
||||||
|
|
||||||
echo "==>setup config done"
|
echo "==>setup config done"
|
||||||
Reference in New Issue
Block a user