summaryrefslogtreecommitdiff
path: root/templates/restart/vpn/node.def.in
blob: f2cb6ccfecddb43797979f2a3f8740ca627569bb (plain)
1
2
3
4
5
6
7
8
9
10
11
help: Restart IPsec VPN
run: if cli-shell-api existsEffective vpn ipsec; then
       if pgrep charon > /dev/null
       then
        @SUDOUSRDIR@/vyatta-vpn-op.pl --op=clear-vpn-ipsec-process
       else
         echo IPsec process not running
       fi
     else
        echo IPsec VPN not configured
     fi