1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/firefly-iii_ynh.git synced 2024-09-03 18:36:13 +02:00

Merge Kay0u updates

This commit is contained in:
root 2020-05-09 16:27:05 +02:00
parent 3ca8ddc29b
commit afc6e45719

View file

@ -117,11 +117,11 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
# SPECIFIC UPGRADE # SPECIFIC UPGRADE
#================================================= #=================================================
init_composer $final_path init_composer $final_path
cd $final_path && sudo /usr/bin/$phpversion artisan migrate --env=production --force cd $final_path && sudo /usr/bin/php$phpversion artisan migrate --env=production --force
cd $final_path && sudo /usr/bin/$phpversion artisan cache:clear cd $final_path && sudo /usr/bin/php$phpversion artisan cache:clear
cd $final_path && sudo /usr/bin/$phpversion firefly:upgrade-database cd $final_path && sudo /usr/bin/php$phpversion artisan firefly:upgrade-database
cd $final_path && sudo /usr/bin/$phpversion firefly:verify cd $final_path && sudo /usr/bin/php$phpversion artisan firefly:verify
cd $final_path && sudo /usr/bin/$phpversion passport:install cd $final_path && sudo /usr/bin/php$phpversion artisan passport:install
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION
@ -130,7 +130,7 @@ cd $final_path && sudo /usr/bin/$phpversion passport:install
#================================================= #=================================================
ynh_script_progression --message="Reloading nginx web server and php-fpm..." --time --weight=1 ynh_script_progression --message="Reloading nginx web server and php-fpm..." --time --weight=1
ynh_systemd_action --service_name=php${phpversion}-fpm --action=reload ynh_systemd_action --service_name=php$phpversion-fpm --action=reload
ynh_systemd_action --service_name=nginx --action=reload ynh_systemd_action --service_name=nginx --action=reload
#================================================= #=================================================