Skip to content

Commit

Permalink
1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gooaclok819 committed Oct 21, 2024
1 parent ee4cbee commit 06107ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ while true; do
echo "3. 卸载安装"
echo "4. 查看服务状态"
echo "5. 查看运行目录"
echo "6. 修改端口"
echo "0. 退出"
echo -n "请选择一个选项: "
read option
Expand Down Expand Up @@ -97,6 +98,10 @@ while true; do
echo "运行目录: /usr/local/bin/sublink"
echo "需要备份的目录为db,template目录为模版文件可备份可不备份"
;;
6)
read -p "请输入要修改的端口: " new_port
/usr/local/bin/sublink/sublink run --port "$new_port"
;;
0)
exit 0
;;
Expand Down

0 comments on commit 06107ce

Please sign in to comment.