From f6397c1e63f24ea64adda27fe18b057d0abefeee Mon Sep 17 00:00:00 2001 From: aapostoliuk Date: Wed, 11 Jan 2023 11:04:30 +0200 Subject: webproxy: T4927: Changed restart to reload-or-restart in commit Changed restart to reload-or-restart in commit. It allows to reload the config and not restart webporxy service during commit. --- 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 41a1deaa3..658e496a6 100755 --- a/src/conf_mode/service_webproxy.py +++ b/src/conf_mode/service_webproxy.py @@ -246,7 +246,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