we should not need to take down the service every time an IP is configured

This commit is contained in:
Will Stevens 2017-04-25 07:48:47 -04:00 committed by Rohit Yadav
parent 970746c6d6
commit c566aba838

View File

@ -629,7 +629,6 @@ class CsRemoteAccessVpn(CsDataBag):
self.remoteaccessvpn_iptables(public_ip, self.dbag[public_ip])
CsHelper.execute("ipsec auto --rereadall")
CsHelper.execute("service xl2tpd stop")
CsHelper.execute("service xl2tpd start")
CsHelper.execute("ipsec auto --rereadsecrets")
CsHelper.execute("ipsec auto --replace L2TP-PSK")