diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-12-08 05:52:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-08 05:52:36 +0200 |
commit | 1669f59f2a9708a11e932a3a004e2f08a8cf257f (patch) | |
tree | 73c33c394f8dbf76e986a4fca87bbb63daabcec3 /src/conf_mode/vpn_openconnect.py | |
parent | ec6aaf72378d02753ca38ff17adadf785b2b21bd (diff) | |
parent | ecb245f13f8f4c28f13a0ea32cba19f2b56758cd (diff) | |
download | vyos-1x-1669f59f2a9708a11e932a3a004e2f08a8cf257f.tar.gz vyos-1x-1669f59f2a9708a11e932a3a004e2f08a8cf257f.zip |
Merge pull request #1696 from sever-sever/T4861
T4861: Openconnect replace restart to reload-or-restart
Diffstat (limited to 'src/conf_mode/vpn_openconnect.py')
-rwxr-xr-x | src/conf_mode/vpn_openconnect.py | 2 |
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 |