Browse Source

Update UPDATE.sh

Stefan Pejcic 1 year ago
parent
commit
cb306c53f8
1 changed files with 11 additions and 0 deletions
  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_system_cronjob
 
+
+    # remove goaccess since we now use docker
+    uninstall_goaccess
+    
     # delete temp files and (maybe) old panel versison
     cleanup
 
@@ -416,6 +420,13 @@ run_custom_postupdate_script() {
 
 
 
+
+uninstall_goaccess() {
+    echo "Removing GoAccess service.."
+    apt-get uninstall goaccess -y 
+}
+
+
 update_services() {
     echo "Updating services.."
     # nothing for 0.1.7