Releases: mturk/svcbatch
Releases · mturk/svcbatch
v2.1.2
Binary release v2.1.2
Major changes
- Drop inconsistent -bb option
- Improve detecting invalid command option values
New Features
- Add -c command option for setting alternative script interpreters
- Add -e command option for setting the environment variable(s) for the current process
- Add -g command option for generating ctrl+break instead ctrl+c on service stop
Compiled using:
nmake
Microsoft (R) Program Maintenance Utility Version 14.29.30148.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64
SHA256 hash of svcbatch-2.1.2-win-x64.zip:
ab73063e1145ef3f8c05b378c78f0644045ceb0a20e88cbd29d1945322984165
Debug build
Compiled using:
nmake _STATIC_MSVCRT=1 _DEBUG=1
Microsoft (R) Program Maintenance Utility Version 14.29.30148.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64
SHA256 hash of svcbatch-2.1.2-debug-win-x64.zip:
b9a4c94d74dee0429aa4d9d6e5fc74c3815eb6ae4882a4eb0378f3895cb21df3
v2.1.1
Binary release v2.1.1
Major changes and updates
- Enable service recovery if service terminates without stop signal
- Do not wait for shutdown process cleanup on timeout
- Kill all child processes if service terminates without stop signal
- Drop useless -c command option
- Enable log rotation by signal, only if -rS option was defined at install time
- Enable -v option even if logging is disabled
- If not an absolute path, create log directory relative to the work directory
- Fix creating log directories with more then two missing intermediate paths
Compiled using:
nmake
Microsoft (R) Program Maintenance Utility Version 14.29.30148.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64
SHA256 hash of svcbatch-2.1.1-win-x64.zip:
64a9ce974261469b6c5d7dd369216a4ed2b73db1a6d75a2e7d29a04eac2af2cd
Debug build
Compiled using:
nmake _DEBUG=1
Microsoft (R) Program Maintenance Utility Version 14.29.30148.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64
SHA256 hash of svcbatch-2.1.1-debug-win-x64.zip:
e2316e487f07b65dc5f8fa84f520123a7d2a2dcd4ac333c61e56f0250b9e8d21
v2.1.0
Binary release v2.1.0
Major changes
- Drop complex and unstable external log application support.
- Drop experimental console mode with _DEBUG builds
- Use object structures instead global variables
- Do not rotate logs if previous rotation was less then 2 minutes ago
- Use asynchronous read from redirected console process
- Ensure that all started processes are properly terminated
- Deprecate setting locale with -c command option
- Check for mutually exclusive options at startup
- Drop support for multiple -n options. The -n parameter will be used both for service and shutdown log names
- Disable -m0 command option. Users should use -t option instead
- Always overwrite existing log files
- Log status messages to separate SvcBatch.status.log file
New Features
- Add SVCBATCH_SERVICE_LOGS environment variable
- Add SVCBATCH_SERVICE_WORK environment variable
- Add SVCBATCH_APP_BIN, SVCBATCH_APP_DIR and SVCBATCH_APP_VER environment variables
- Add -h command option that enables to have separate home and work directories
- Add -k command option for changing default stop timeout
- Use -c command option to set user defined code page
- Add arguments from the service start application to the existing batch file arguments
Compiled using:
nmake
Microsoft (R) Program Maintenance Utility Version 14.29.30148.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64
SHA256 hash of svcbatch-2.1.0-win-x64.zip:
316fc3d63ad39e1e502c1f7b7bb2232d0edc274832b5ece7d04fa77cbfbb19d6
Debug build
Compiled using:
nmake _DEBUG=1 _STATIC_MSVCRT=1
Microsoft (R) Program Maintenance Utility Version 14.29.30148.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64
SHA256 hash of svcbatch-2.1.0-debug-win-x64.zip:
379a515c2369592f6ea51c4809759e4f6a628b7ce3c17e5aecf92e9d1d43540f
v2.0.0
Binary release v2.0.0
This is major version upgrade incompatible with previous 1.x versions
- Drop external log application support for shutdown batch file
- Do not rotate shutdown log files
- Drop -d command option in favor of _DEBUG builds
- Drop -a command option in favor of multiple -s options
New Features
- Add -c command option for changing default run-time locale
- Add -q command option to disable logging
- Add -t command option that will truncate log file
- Use -m command option to replace previous -r0...9
- Add -v command option that enables to log various internal messages
- Add support for log rotation at each full hour
- Add strftime support for log file names
- Enable to run services in console mode with _DEBUG builds
Compiled using:
nmake _BUILD_TIMESTAMP=20230703171105
Microsoft (R) Program Maintenance Utility Version 14.29.30148.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64
SHA256 hash of svcbatch-2.0.0-win-x64.zip:
e5c52a6eabd1285e961fede4ee5c7a203f0fd4e87670d2f92e58cf3c1200cd10
Debug build
Compiled using:
nmake _BUILD_TIMESTAMP=20230703171114 _DEBUG=1 _STATIC_MSVCRT=1
Microsoft (R) Program Maintenance Utility Version 14.29.30148.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64
SHA256 hash of svcbatch-2.0.0-debug-win-x64.zip:
160b22960bb31fe9db63103eb4c9cc02e310a3ad0f9ba867124d50c63906dc43
v1.4.0
Binary release v1.4.0
Changes
- Terminate external log application if it fails to exit within 5 seconds after closing log files
- Use service batch file as shutdown batch file if -a was defined and -s was not
- Drop experimental support for user rotate service control for external log applications
- Drop SVCBATCH_SERVICE_MODE environment variable
- Drop SVCBATCH_SERVICE_LOGDIR environment variable
- Stop service if write to logfile fails
Compiled on mingw host using:
make -f Makefile.gmk _BUILD_TIMESTAMP=20221215175117
GNU Make 4.4
gcc.exe (Rev6, Built by MSYS2 project) 12.2.0
SHA256 hash of svcbatch-1.4.0-win-x64.zip:
3439b8752000492daca3d0d446b1c78ff3a86cc2044eda0bf7b7d97464d7e33b
v1.3.4
Binary release v1.3.4
- Add -a command option that enables to provide arguments to shutdown batch file
Compiled on mingw host using:
make -f Makefile.gmk _BUILD_TIMESTAMP=20221202235208
GNU Make 4.3
gcc.exe (Rev6, Built by MSYS2 project) 12.2.0
SHA256 hash of svcbatch-1.3.4-win-x64.zip:
83b18067c4a85e1ed00007f05916c43252aeb87ff864d55bbf6be92005690ddd
v1.3.2
Binary release v1.3.2
New Features
- Enable external log applications to handle user rotate service control
- Add -l command option to use local instead system time for log rotation and messages
Compiled using:
nmake _BUILD_TIMESTAMP=20221611104613 _STATIC_MSVCRT=1
Microsoft (R) Program Maintenance Utility Version 14.29.30147.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30147 for x64
SHA256 hash of svcbatch-1.3.2-win-x64.zip:
2b8641a61b4eebde1db6e2fee0ea6c21484a9a9b08d65603975f3fe4131c75be
v1.3.1
Binary release v1.3.1
New Features
- Add -e command option that enables to start external log application
- Add -n command option that enables to change default log file name prefix
- Add SVCBATCH_SERVICE_MODE environment variable
Compiled on mingw host using:
make -f Makefile.gmk
GNU Make 4.3
gcc.exe (Rev6, Built by MSYS2 project) 12.2.0
SHA256 hash of svcbatch-1.3.1-win-x64.zip:
11ace3d1521b7871a0bca667e28ee6b6e3139c8aabe0a7271f7b6c2a33dbc67e
v1.3.0
Binary release v1.3.0
New Features
- Send additional arguments to batch file if defined at install time
- Add full support for building with msys2 or cygwin environment
- Add -q command option for disabling internal status logging
Compiled using:
nmake _BUILD_TIMESTAMP=20221111003418 _STATIC_MSVCRT=1
Microsoft (R) Program Maintenance Utility Version 14.29.30146.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30146 for x64
SHA256 hash of svcbatch-1.3.0-win-x64.zip:
4ca75fe5f6d29b46578c50a56712aedf3b9e301e6b70d355de391876f725ee6f
v1.2.2
Binary release v1.2.2
Compiled using:
nmake _BUILD_TIMESTAMP=20221610194358 _STATIC_MSVCRT=1
Microsoft (R) Program Maintenance Utility Version 14.29.30146.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30146 for x64
ClamAV 0.105.1/26691/Sun Oct 16 09:59:08 2022
svcbatch.exe: OK
----------- SCAN SUMMARY -----------
Known viruses: 8640196
Engine version: 0.105.1
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.21 MB
Data read: 0.21 MB (ratio 1.04:1)