From a74af52ce857b4a516c70a0ecb2ad484ad2ae942 Mon Sep 17 00:00:00 2001 From: aapostoliuk Date: Wed, 11 Jan 2023 12:31:00 +0200 Subject: webproxy: T4927: Changed restart to reload-or-restart in commit Changed restart to reload-or-restart in the commit. It allows to reload the config and not restart webproxy service during the commit. Backported from 1.4 --- src/conf_mode/service_webproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/service_webproxy.py') diff --git a/src/conf_mode/service_webproxy.py b/src/conf_mode/service_webproxy.py index 9e0d73a5b..59c087aaa 100755 --- a/src/conf_mode/service_webproxy.py +++ b/src/conf_mode/service_webproxy.py @@ -245,7 +245,7 @@ def apply(proxy): if os.path.exists(squidguard_db_dir): chmod_755(squidguard_db_dir) - call('systemctl restart squid.service') + call('systemctl reload-or-restart squid.service') return None -- cgit v1.2.3