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

Update upgrade

This commit is contained in:
ericgaspar 2021-02-14 11:07:29 +01:00
parent f4aa1d3d40
commit a911161d47
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -87,7 +87,7 @@ ynh_abort_if_errors
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=23
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name=$app --action=stop --log_path="/var/log/$app/$app.log"
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
@ -140,6 +140,7 @@ ynh_add_fpm_config --package="$extra_php_dependencies"
chown -R $app:www-data $final_path
chown -R $app $final_path/src/Movim/Bootstrap.php
chmod u+rwx $final_path
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
@ -164,7 +165,7 @@ popd
ynh_script_progression --message="Configuring database.." --weight=1
pushd $final_path
ynh_exec_as $app php$phpversion composer.phar movim:migrate --quiet
php$phpversion composer.phar movim:migrate --quiet
popd
#=================================================
@ -184,7 +185,7 @@ ynh_add_systemd_config
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name=$app --action=start --log_path="/var/log/$app/$app.log"
#=================================================
# RELOAD NGINX