diff options
author | aapostoliuk <a.apostoliuk@vyos.io> | 2023-01-11 11:04:30 +0200 |
---|---|---|
committer | aapostoliuk <a.apostoliuk@vyos.io> | 2023-01-11 11:04:30 +0200 |
commit | f6397c1e63f24ea64adda27fe18b057d0abefeee (patch) | |
tree | d95f5392044065e19ca76510607fbbde26a659a4 | |
parent | 0e5ea5a63ab9db9ae04ab09e3af42a6e8e1c4c55 (diff) | |
download | vyos-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.
-rwxr-xr-x | src/conf_mode/service_webproxy.py | 2 |
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 |