diff --git a/manifest.toml b/manifest.toml index 95dbdc1..1b8610b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -16,7 +16,7 @@ demo = "https://libreddit.spike.codes/" code = "https://github.com/spikecodes/libreddit" [integration] -yunohost = ">= 11.2.27" +yunohost = ">= 11.2.18" helpers_version = "2.1" architectures = ["amd64"] multi_instance = true diff --git a/scripts/install b/scripts/install index 8cbb255..712fa3b 100755 --- a/scripts/install +++ b/scripts/install @@ -38,7 +38,7 @@ chown $app:$app "$install_dir/redlib.conf" #================================================= 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 c99b967..7f8f64e 100755 --- a/scripts/restore +++ b/scripts/restore @@ -24,14 +24,14 @@ systemctl enable $app.service --quiet yunohost service add $app --description="Alternative to Reddit" --log="/var/log/$app/$app.log" -ynh_systemctl --service=$app --action="start" --log_path="systemd" +ynh_systemctl --action="start" --log_path="systemd" #================================================= # RELOAD NGINX AND PHP-FPM OR THE APP SERVICE #================================================= ynh_script_progression "Reloading NGINX web server and $app's 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 bde0b92..e725a16 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 @@ -45,7 +45,7 @@ chown $app:$app "$install_dir/redlib.conf" #================================================= 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