浏览代码

Update UPDATE.sh

Stefan Pejcic 1 年之前
父节点
当前提交
cb306c53f8
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      version/0.1.7/UPDATE.sh

+ 11 - 0
version/0.1.7/UPDATE.sh

@@ -135,6 +135,10 @@ FUNCTIONS=(
     # set cronjobs
     # set cronjobs
     set_system_cronjob
     set_system_cronjob
 
 
+
+    # remove goaccess since we now use docker
+    uninstall_goaccess
+    
     # delete temp files and (maybe) old panel versison
     # delete temp files and (maybe) old panel versison
     cleanup
     cleanup
 
 
@@ -416,6 +420,13 @@ run_custom_postupdate_script() {
 
 
 
 
 
 
+
+uninstall_goaccess() {
+    echo "Removing GoAccess service.."
+    apt-get uninstall goaccess -y 
+}
+
+
 update_services() {
 update_services() {
     echo "Updating services.."
     echo "Updating services.."
     # nothing for 0.1.7
     # nothing for 0.1.7