Explorar el Código

Update upgrade

Mickael-Martin hace 7 años
padre
commit
23b3925201
Se han modificado 1 ficheros con 0 adiciones y 48 borrados
  1. 0 48
      scripts/upgrade

+ 0 - 48
scripts/upgrade

@@ -85,52 +85,4 @@ rm -fr zabbix-*.deb
 apt-get -y --only-upgrade install zabbix-server-mysql zabbix-agent
 DEBIAN_FRONTEND=noninteractive apt-mark hold zabbix-server-mysql zabbix-frontend-php
 
-
-#=================================================
-# SPECIFIC UPGRADE
-#=================================================
-
-ynh_restore_file "/var/www/zabbix/conf/zabbix.conf.php" 
-ynh_restore_file "/etc/zabbix/zabbix_server.conf" 
-ynh_restore_file "/etc/zabbix/zabbix_agentd.conf" 
-ynh_restore_file "/etc/zabbix/zabbix_agentd.d"
-
-#=================================================
-# SETUP LOGROTATE
-#=================================================
-
-# Use logrotate to manage app-specific logfile(s)
-ynh_use_logrotate --non-append
-
-#=================================================
-# SETUP SYSTEMD
-#=================================================
-
-# Create a dedicated systemd config
-ynh_add_systemd_config
-
-#=================================================
-# GENERIC FINALIZATION
-#=================================================
-# SECURE FILES AND DIRECTORIES
-#=================================================
-
-# Set permissions on app files
-chown -R root: $final_path
-
-#=================================================
-# SETUP SSOWAT
-#=================================================
-
-# Make app public if necessary
-if [ $is_public -eq 1 ]
-then
-	# unprotected_uris allows SSO credentials to be passed anyway
-	ynh_app_setting_set $app unprotected_uris "/"
-fi
-
-#=================================================
-# RELOAD NGINX
-#=================================================
-
 systemctl reload nginx