diff --git a/check_process b/check_process index 889d10d..6fed8c4 100644 --- a/check_process +++ b/check_process @@ -12,14 +12,14 @@ setup_nourl=0 setup_private=0 setup_public=1 - upgrade=0 + upgrade=1 #upgrade=0 from_commit=CommitHash backup_restore=0 multi_instance=1 change_url=1 ;;; Options -Email=anmol@datamol.org -Notification=all +Email= +Notification= ;;; Upgrade options ; commit=CommitHash name=Name and date of the commit. diff --git a/manifest.json b/manifest.json index c38c28c..87e3b55 100644 --- a/manifest.json +++ b/manifest.json @@ -8,9 +8,9 @@ }, "version": "12.69.0~ynh1", "url": "https://join.misskey.page/en/", - "license": "AGPL-3.0-or-later", + "license": "AGPL-3.0", "maintainer": { - "name": "Anmol" + "name": "Anmol Sharma" }, "requirements": { "yunohost": ">= 4.2.4" diff --git a/scripts/remove b/scripts/remove index 217b3b1..bc1e879 100755 --- a/scripts/remove +++ b/scripts/remove @@ -29,7 +29,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # Remove the service from the list of services known by Yunohost (added from `yunohost service add`) -if ynh_exec_warn_less yunohost service status $app >/dev/null +if ynh_exec_warn_less yunohost service status "$app" >/dev/null then ynh_script_progression --message="Removing $app service integration..." --weight=1 yunohost service remove $app @@ -41,7 +41,7 @@ fi ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1 # Remove the dedicated systemd config -ynh_remove_systemd_config +ynh_remove_systemd_config --service="$app" #================================================= # REMOVE THE POSTGRESQL DATABASE diff --git a/scripts/upgrade b/scripts/upgrade index ce22b48..156729c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -93,7 +93,7 @@ fi ynh_script_progression --message="Upgrading nginx web server configuration..." # Create a dedicated nginx config -ynh_add_nginx_config +ynh_add_nginx_config 'port' #================================================= # UPGRADE DEPENDENCIES