From 55b808acc7e8c1a6835e0538778b8157bc16d6b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 29 Feb 2024 21:52:28 +0100 Subject: [PATCH] Update install --- scripts/install | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/scripts/install b/scripts/install index fd127bd..3799edd 100644 --- a/scripts/install +++ b/scripts/install @@ -25,6 +25,18 @@ ynh_setup_source --dest_dir="$install_dir" chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" +#================================================= +# SYSTEM CONFIGURATION +#================================================= +ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 + +ynh_add_fpm_config + +ynh_add_nginx_config + +ynh_add_systemd_config +yunohost service add "$app" --description="Responsive web-based XMPP client" --log="/var/log/$app/$app.log" + #================================================= # SPECIFIC SETUP #================================================= @@ -48,19 +60,6 @@ ynh_install_composer ynh_exec_warn_less ynh_composer_exec --commands="install" ynh_exec_warn_less ynh_composer_exec --commands="movim:migrate" - -#================================================= -# SYSTEM CONFIGURATION -#================================================= -ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 - -ynh_add_fpm_config - -ynh_add_nginx_config - -ynh_add_systemd_config -yunohost service add "$app" --description="Responsive web-based XMPP client" --log="/var/log/$app/$app.log" - #================================================= # START SYSTEMD SERVICE #=================================================