From 881fb75e0f7370ac27d4122567b174b89d8ae67d Mon Sep 17 00:00:00 2001 From: anmol26s Date: Fri, 14 Sep 2018 09:09:57 +0530 Subject: [PATCH] Removed ynh_system_reload --- scripts/install | 4 ++-- scripts/restore | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 2d46075..840fac4 100755 --- a/scripts/install +++ b/scripts/install @@ -111,14 +111,14 @@ ynh_store_file_checksum "/etc/squid3/squid.conf" ### - Remove the section "REMOVE SERVICE FROM ADMIN PANEL" in the remove script ### - As well as the section ADVERTISE SERVICE IN ADMIN PANEL" in the restore script -yunohost service add squid --log "/var/log/squid/access.log" +yunohost service add squid3 --log "/var/log/squid/access.log" #================================================= # RESTART SQUID'S SERVICE #================================================= -ynh_system_reload --service_name=squid3 --action=restart +service squid3 restart #================================================= diff --git a/scripts/restore b/scripts/restore index 80256aa..7e7db62 100755 --- a/scripts/restore +++ b/scripts/restore @@ -49,12 +49,12 @@ yunohost firewall allow --no-upnp TCP $port #================================================= ynh_secure_remove "/etc/squid3/squid.conf" ynh_restore_file "/etc/squid3/squid.conf" -ynh_system_reload --service_name=squid --action=restart +service squid3 restart #================================================= # ADVERTISE SERVICE IN ADMIN PANEL #================================================= -yunohost service add squid --log "/var/log/squid/access.log" +yunohost service add squid3 --log "/var/log/squid/access.log" #=================================================