summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_webproxy.py
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2023-01-11 12:31:00 +0200
committeraapostoliuk <a.apostoliuk@vyos.io>2023-01-11 12:36:37 +0200
commita74af52ce857b4a516c70a0ecb2ad484ad2ae942 (patch)
tree1f43f469d6b21e4f625419ceee5b171e66ad4270 /src/conf_mode/service_webproxy.py
parent5a6c0c4d61112e1ac08a334ab7e68c07342fd679 (diff)
downloadvyos-1x-a74af52ce857b4a516c70a0ecb2ad484ad2ae942.tar.gz
vyos-1x-a74af52ce857b4a516c70a0ecb2ad484ad2ae942.zip
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
Diffstat (limited to 'src/conf_mode/service_webproxy.py')
-rwxr-xr-xsrc/conf_mode/service_webproxy.py2
1 files changed, 1 insertions, 1 deletions
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