diff --git a/manifest.toml b/manifest.toml index c1a3c48..4b69a7a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -16,7 +16,7 @@ admindoc = "https://miniflux.app/docs/index.html" code = "https://github.com/miniflux/v2" [integration] -yunohost = ">= 11.2.27" +yunohost = ">= 11.2.18" helpers_version = "2.1" architectures = ["amd64", "armhf", "arm64"] multi_instance = true diff --git a/scripts/change_url b/scripts/change_url index 39a5d1c..45b0658 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -8,7 +8,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression "Stopping $app's systemd service..." -ynh_systemctl --service=$app --action=stop +ynh_systemctl --action=stop #================================================= # MODIFY URL IN NGINX CONF @@ -34,7 +34,7 @@ chmod 600 "$install_dir/$app.conf" ynh_script_progression "Starting $app's systemd service..." # Start a systemd service -ynh_systemctl --service=$app --action=start --log_path=systemd +ynh_systemctl --action=start --log_path=systemd #================================================= # END OF SCRIPT diff --git a/scripts/install b/scripts/install index 602468c..d6ce8a2 100644 --- a/scripts/install +++ b/scripts/install @@ -54,7 +54,7 @@ yunohost service add $app --description="Minimalist feed reader" --log="/var/log #================================================= ynh_script_progression "Starting $app's systemd service..." -ynh_systemctl --service=$app --action=start --log_path=systemd +ynh_systemctl --action=start --log_path=systemd #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index f08382a..c074a0d 100644 --- a/scripts/restore +++ b/scripts/restore @@ -40,7 +40,7 @@ yunohost service add $app --description="Minimalist feed reader" --log="/var/log #================================================= ynh_script_progression "Starting $app's systemd service..." -ynh_systemctl --service=$app --action=start --log_path=systemd +ynh_systemctl --action=start --log_path=systemd ynh_systemctl --service=nginx --action=reload diff --git a/scripts/upgrade b/scripts/upgrade index bc76738..ee63187 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -8,7 +8,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression "Stopping $app's systemd service..." -ynh_systemctl --service=$app --action=stop --log_path=systemd +ynh_systemctl --action=stop --log_path=systemd #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE @@ -37,7 +37,7 @@ yunohost service add $app --description="Minimalist feed reader" --log="/var/log #================================================= ynh_script_progression "Starting $app's systemd service..." -ynh_systemctl --service=$app --action=start --log_path=systemd +ynh_systemctl --action=start --log_path=systemd #================================================= # END OF SCRIPT