1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

fix upgrade

This commit is contained in:
Jean-Baptiste Holcroft 2019-03-02 07:29:41 +01:00
parent 376936f537
commit a3e5d3ea82

View file

@ -143,6 +143,7 @@ chmod 400 "${final_path}/config/db.inc.php"
(
cd "$final_path"
php vendor/bin/phinx migrate
php vendor/bin/phinx seed:run -s FromModlToEloquent
)
#=================================================
@ -184,8 +185,8 @@ fi
#=================================================
# Create a dedicated systemd config
ynh_replace_string "__URL__" "${domain}${path_url}" ../conf/systemd.service
ynh_replace_string "__PORT__" "${port}" ../conf/systemd.service
ynh_replace_string "__URL__" "${domain}" ../conf/systemd.service
ynh_replace_string "__PORT__" "${port}" ../conf/systemd.service
ynh_add_systemd_config
#=================================================