summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_webproxy.py
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2023-01-11 11:04:30 +0200
committeraapostoliuk <a.apostoliuk@vyos.io>2023-01-11 11:04:30 +0200
commitf6397c1e63f24ea64adda27fe18b057d0abefeee (patch)
treed95f5392044065e19ca76510607fbbde26a659a4 /src/conf_mode/service_webproxy.py
parent0e5ea5a63ab9db9ae04ab09e3af42a6e8e1c4c55 (diff)
downloadvyos-1x-f6397c1e63f24ea64adda27fe18b057d0abefeee.tar.gz
vyos-1x-f6397c1e63f24ea64adda27fe18b057d0abefeee.zip
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.
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 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