浏览代码

Update shinobi-v5.sh

add update
tteckster 2 年之前
父节点
当前提交
2f2683fd9c
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      ct/shinobi-v5.sh

+ 5 - 2
ct/shinobi-v5.sh

@@ -319,8 +319,11 @@ function update_script() {
 clear
 clear
 header_info
 header_info
 msg_info "Updating Shinobi LXC"
 msg_info "Updating Shinobi LXC"
-apt-get update &>/dev/null
-apt-get -y upgrade &>/dev/null
+cd /home/Shinobi
+sh UPDATE.sh
+pm2 flush
+pm2 restart camera
+pm2 restart cron
 msg_ok "Updated Shinobi LXC"
 msg_ok "Updated Shinobi LXC"
 exit
 exit
 }
 }