makeyangcom 8 kuukautta sitten
vanhempi
commit
acb42aaf1a
1 muutettua tiedostoa jossa 7 lisäystä ja 6 poistoa
  1. 7 6
      tools/help.sh

+ 7 - 6
tools/help.sh

@@ -2,6 +2,7 @@
 
 set -e
 
+GRAY='\033[1;30m'
 GREEN='\033[0;32m'
 BLUE='\033[0;34m'
 YELLOW='\033[0;33m'
@@ -9,30 +10,30 @@ YELLOW='\033[0;33m'
 # shellcheck disable=SC2039
 echo -e "${BLUE}一些常用的命令脚本:${NC}"
 
-echo -e "${GREEN}查看所有服务状态${NC}"
+echo -e "${GRAY}查看所有服务状态${NC}"
 # shellcheck disable=SC2039
 echo -e "${GREEN}sudo systemctl status server.service game.service${NC}"
 
 # shellcheck disable=SC2039
-echo -e "${GREEN}重启后端服务${NC}"
+echo -e "${GRAY}重启后端服务${NC}"
 # shellcheck disable=SC2039
 echo -e "${GREEN}sudo systemctl restart server.service${NC}"
 # shellcheck disable=SC2039
-echo -e "${GREEN}重启游戏服务器${NC}"
+echo -e "${GRAY}重启游戏服务器${NC}"
 # shellcheck disable=SC2039
 echo -e "${GREEN}sudo systemctl restart game.service${NC}"
 
 # shellcheck disable=SC2039
-echo -e "${GREEN}监听后端服务实时日志${NC}"
+echo -e "${GRAY}监听后端服务实时日志${NC}"
 # shellcheck disable=SC2039
 echo -e "${GREEN}sudo journalctl -fu server.service${NC}"
 # shellcheck disable=SC2039
-echo -e "${GREEN}监听游戏服务器实时日志${NC}"
+echo -e "${GRAY}监听游戏服务器实时日志${NC}"
 # shellcheck disable=SC2039
 echo -e "${GREEN}sudo journalctl -fu game.service${NC}"
 # shellcheck disable=SC2039
 
-echo -e "${GREEN}重启Nginx服务${NC}"
+echo -e "${GRAY}重启Nginx服务${NC}"
 # shellcheck disable=SC2039
 echo -e "${GREEN}sudo systemctl restart nginx.service${NC}"
 # shellcheck disable=SC2039