Update shinobi-v5.sh
add update
This commit is contained in:
parent
475649dad9
commit
2f2683fd9c
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue