From 827305be441fefb278f1a28b33b3c4be202abfa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 31 Jul 2024 23:13:16 +0200 Subject: [PATCH] cleaning --- scripts/change_url | 1 - scripts/install | 2 -- scripts/remove | 3 --- 3 files changed, 6 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 936ddb3..9b2a49c 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -39,7 +39,6 @@ ynh_config_add --template="config.yml" --destination="$install_dir/config.yml" #================================================= ynh_script_progression "Starting $app's systemd service..." -# Start a systemd service ynh_systemctl --service=$app --action=start --log_path=systemd #================================================= diff --git a/scripts/install b/scripts/install index ba6ae41..f7b3736 100644 --- a/scripts/install +++ b/scripts/install @@ -40,7 +40,6 @@ ynh_app_setting_set --key=maxitemsperpage --value=$maxitemsperpage #================================================= ynh_script_progression "Setting up source files..." -# Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" executable="$(find $install_dir -name "vikunja-*" \! -name "*.sha256")" mv "$executable" "$install_dir/vikunja" @@ -70,7 +69,6 @@ yunohost service add $app --description="Self-hosted To-Do list application" --l #================================================= ynh_script_progression "Starting $app's systemd service..." -# Start a systemd service ynh_systemctl --service="$app" --action=start --log_path=systemd #--wait_until="server started on" #================================================= diff --git a/scripts/remove b/scripts/remove index e518524..43a52f5 100644 --- a/scripts/remove +++ b/scripts/remove @@ -10,19 +10,16 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression "Removing system configurations related to $app..." -# Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_hide_warnings yunohost service status $app >/dev/null then ynh_script_progression "Removing $app service..." yunohost service remove $app fi -# Remove the dedicated systemd config ynh_config_remove_systemd ynh_redis_remove_db "$redis_db" -# Remove the dedicated NGINX config ynh_config_remove_nginx #=================================================