Compare commits
	
		
			No commits in common. "84709a7c311e47ffcb49e355d4e834a4f6fe4241" and "93d17be4ed7fa5b397c672564eb17bcd7107585e" have entirely different histories. 
		
	
	
		
			84709a7c31
			...
			93d17be4ed
		
	
		|  | @ -140,7 +140,6 @@ elif [ "$1" = "configure" ] && [ -n "$2" ]; then | ||||||
|     cd /opt/opengnsys/ogcore/api |     cd /opt/opengnsys/ogcore/api | ||||||
|     echo ">>> Aplicando migraciones de base de datos" |     echo ">>> Aplicando migraciones de base de datos" | ||||||
|     php bin/console doctrine:migrations:migrate --no-interaction |     php bin/console doctrine:migrations:migrate --no-interaction | ||||||
|     php bin/console cache:clear |  | ||||||
|     echo ">>> Configurando servidor web y servicios" |     echo ">>> Configurando servidor web y servicios" | ||||||
|     [ ! -L /etc/nginx/sites-enabled/ogcore.conf ] && ln -s /opt/opengnsys/ogcore/etc/nginx/sites-available/ogcore.conf /etc/nginx/sites-enabled/ogcore.conf |     [ ! -L /etc/nginx/sites-enabled/ogcore.conf ] && ln -s /opt/opengnsys/ogcore/etc/nginx/sites-available/ogcore.conf /etc/nginx/sites-enabled/ogcore.conf | ||||||
|     [ ! -L /etc/php/8.3/fpm/pool.d/ogcore-fpm.conf ] && ln -s /opt/opengnsys/ogcore/etc/php/8.3/fpm/pool.d/ogcore-fpm.conf /etc/php/8.3/fpm/pool.d/ogcore-fpm.conf |     [ ! -L /etc/php/8.3/fpm/pool.d/ogcore-fpm.conf ] && ln -s /opt/opengnsys/ogcore/etc/php/8.3/fpm/pool.d/ogcore-fpm.conf /etc/php/8.3/fpm/pool.d/ogcore-fpm.conf | ||||||
|  | @ -158,12 +157,13 @@ elif [ "$1" = "configure" ] && [ -n "$2" ]; then | ||||||
|         chmod 644 /etc/cron.d/opengnsys-check-clients |         chmod 644 /etc/cron.d/opengnsys-check-clients | ||||||
|         chown root:root /etc/cron.d/opengnsys-check-clients |         chown root:root /etc/cron.d/opengnsys-check-clients | ||||||
|     fi |     fi | ||||||
|     systemctl enable og-mercure |  | ||||||
|     systemctl daemon-reload |     systemctl daemon-reload | ||||||
|  |     systemctl enable og-mercure | ||||||
|     systemctl restart og-mercure |     systemctl restart og-mercure | ||||||
|     systemctl restart php8.3-fpm |  | ||||||
|     systemctl restart nginx |     systemctl restart nginx | ||||||
|  |     systemctl restart php8.3-fpm | ||||||
| fi  | fi  | ||||||
| # Recargar systemd y reiniciar servicios en ambos casos | # Recargar systemd y reiniciar servicios en ambos casos | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
| exit 0 | exit 0 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue