Changes between Version 8 and Version 9 of IntegratingOpenvpnWithNssm
- Timestamp:
- 11/23/15 00:15:49 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IntegratingOpenvpnWithNssm
v8 v9 15 15 set NSSM=%BASEDIR%\bin\nssm.exe 16 16 set CONN=community.ovpn 17 set EXIT_DELAY=2500 17 18 18 19 "%NSSM%" status %CONN% > NUL 2>&1 … … 28 29 "%NSSM%" set %CONN% AppRotateFiles 1 > NUL 2>&1 29 30 "%NSSM%" set %CONN% DependOnService Dhcp tap0901 > NUL 2>&1 31 "%NSSM%" set %CONN% AppStopMethodConsole %EXIT_DELAY% > NUL 2>&1 30 32 "%NSSM%" start %CONN% > NUL 2>&1 31 33 }}} 32 34 33 The CONN variable refers to the OpenVPN connection file you wish to launch. 35 The CONN variable refers to the OpenVPN connection file you wish to launch. The suggested EXIT_DELAY of 2500 msec may have to be increased if you use `explicit-exit-notify n` with `n > 1` in the connection configuration file. 34 36 35 37 = Basic NSSM usage =