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:
parent
3ca8ddc29b
commit
afc6e45719
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue