summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-12-08 05:52:36 +0200
committerGitHub <noreply@github.com>2022-12-08 05:52:36 +0200
commit1669f59f2a9708a11e932a3a004e2f08a8cf257f (patch)
tree73c33c394f8dbf76e986a4fca87bbb63daabcec3
parentec6aaf72378d02753ca38ff17adadf785b2b21bd (diff)
parentecb245f13f8f4c28f13a0ea32cba19f2b56758cd (diff)
downloadvyos-1x-1669f59f2a9708a11e932a3a004e2f08a8cf257f.tar.gz
vyos-1x-1669f59f2a9708a11e932a3a004e2f08a8cf257f.zip
Merge pull request #1696 from sever-sever/T4861
T4861: Openconnect replace restart to reload-or-restart
-rwxr-xr-xsrc/conf_mode/vpn_openconnect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_openconnect.py b/src/conf_mode/vpn_openconnect.py
index b336b0c03..af3c51efc 100755
--- a/src/conf_mode/vpn_openconnect.py
+++ b/src/conf_mode/vpn_openconnect.py
@@ -247,7 +247,7 @@ def apply(ocserv):
if os.path.exists(file):
os.unlink(file)
else:
- call('systemctl restart ocserv.service')
+ call('systemctl reload-or-restart ocserv.service')
counter = 0
while True:
# exit early when service runs