Selaa lähdekoodia

Update shinobi-v5.sh

add update
tteckster 2 vuotta sitten
vanhempi
commit
2f2683fd9c
1 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 5 2
      ct/shinobi-v5.sh

+ 5 - 2
ct/shinobi-v5.sh

@@ -319,8 +319,11 @@ function update_script() {
 clear
 header_info
 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"
 exit
 }