Changes between Version 6 and Version 7 of IntegratingOpenvpnWithNssm


Ignore:
Timestamp:
10/08/15 00:21:12 (9 years ago)
Author:
NHellFire
Comment:

Removed AppStdin?, not needed and causes log rotation to file

Legend:

Unmodified
Added
Removed
Modified
  • IntegratingOpenvpnWithNssm

    v6 v7  
    2323"%NSSM%" set %CONN% AppDirectory "%BASEDIR%\config" > NUL 2>&1
    2424"%NSSM%" set %CONN% AppParameters "--config %CONN%" > NUL 2>&1
    25 "%NSSM%" set %CONN% AppStdin "%BASEDIR%\log\%CONN%.log" > NUL 2>&1
     25"%NSSM%" reset %CONN% AppStdin > NUL 2>&1
    2626"%NSSM%" set %CONN% AppStdout "%BASEDIR%\log\%CONN%.log" > NUL 2>&1
    2727"%NSSM%" set %CONN% AppStderr "%BASEDIR%\log\%CONN%.log" > NUL 2>&1
     
    104104
    105105Thanks to Jason Haar for providing the initial version of the above script and for the tip for using NSSM in the first place!
     106Removed AppStdin, not needed and causes log rotation to file. - Nathan Rennie-Waldock