瀏覽代碼

Update nocodb-install.sh

tteckster 3 年之前
父節點
當前提交
308231fb9b
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      setup/nocodb-install.sh

+ 3 - 2
setup/nocodb-install.sh

@@ -88,8 +88,9 @@ WorkingDirectory=/opt/nocodb
 ExecStart=/usr/bin/npm start
 ExecStart=/usr/bin/npm start
 
 
 [Install]
 [Install]
-WantedBy=multi-user.target" > $service_path
-systemctl enable --now nocodb.service
+WantedBy=multi-user.target" > $service_path &>/dev/null
+systemctl enable --now nocodb.service &>/dev/null
+echo -e "${CM}${CL} \r"
 
 
 PASS=$(grep -w "root" /etc/shadow | cut -b6);
 PASS=$(grep -w "root" /etc/shadow | cut -b6);
   if [[ $PASS != $ ]]; then
   if [[ $PASS != $ ]]; then