diff --git a/manifest.toml b/manifest.toml index da96443..e73a28f 100644 --- a/manifest.toml +++ b/manifest.toml @@ -23,7 +23,7 @@ multi_instance = true ldap = false sso = false disk = "50M" -ram.build = "700M" +ram.build = "900M" ram.runtime = "50M" [install] diff --git a/scripts/backup b/scripts/backup index 8bc9490..5250294 100755 --- a/scripts/backup +++ b/scripts/backup @@ -45,8 +45,6 @@ ynh_backup --src_path="/etc/systemd/system/$app.service" # BACKUP VARIOUS FILES #================================================= -# ynh_backup --src_path="/etc/cron.d/$app" - ynh_backup --src_path="/var/log/$app/" #================================================= diff --git a/scripts/install b/scripts/install index a2d58f7..8057245 100755 --- a/scripts/install +++ b/scripts/install @@ -49,7 +49,7 @@ yunohost service add $app --description="Monitoring tool" --log="/var/log/$app/$ #================================================= # SPECIFIC SETUP #================================================= -ynh_script_progression --message="Installing Uptime Kuma dependencies..." --weight=7 +ynh_script_progression --message="Installing $app dependencies..." --weight=7 pushd "$install_dir" ynh_use_nodejs diff --git a/scripts/upgrade b/scripts/upgrade index 499980e..3d99d82 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -42,9 +42,9 @@ chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" #================================================= -# INSTALL NODEJS +# REAPPLY SYSTEM CONFIGURATIONS #================================================= -ynh_script_progression --message="Upgrading nodejs..." --weight=2 +ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 ynh_install_nodejs --nodejs_version=$nodejs_version @@ -62,7 +62,7 @@ yunohost service add $app --description="Monitoring tool" --log="/var/log/$app/$ #================================================= # SPECIFIC UPGRADE #================================================= -ynh_script_progression --message="Upgrading Uptime Kuma dependencies..." --weight=7 +ynh_script_progression --message="Upgrading $app dependencies..." --weight=7 pushd "$install_dir" ynh_use_nodejs