From f76171a9d3b313a233d84728d212f8237e5fd010 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Wed, 21 Apr 2010 22:56:33 +0100 Subject: [PATCH] NSSM 2.3 --- README.txt | 17 ++++++++++++++++- nssm.h | 4 ++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/README.txt b/README.txt index 2d38eaf..59b7142 100644 --- a/README.txt +++ b/README.txt @@ -1,5 +1,5 @@ NSSM: The Non-Sucking Service Manager -Version 2.2, 2010-04-04 +Version 2.3, 2010-04-21 NSSM is a service helper program similar to srvany and cygrunsrv. It can start any application as an NT service and will restart the service if it @@ -20,6 +20,8 @@ Thanks Benjamin Mayrargue. Since version 2.2, NSSM can be configured to take different actions based on the exit code of the managed application. +Since version 2.3, NSSM logs to the Windows event log more elegantly. + Usage ----- @@ -111,6 +113,18 @@ To remove a service without confirmation from the GUI, run Try not to remove essential system services... +Logging +------- +NSSM logs to the Windows event log. It registers itself as an event log source +and uses unique event IDs for each type of message it logs. New versions may +add event types but existing event IDs will never be changed. + +Because of the way NSSM registers itself you should be aware that you may not +be able to replace the NSSM binary if you have the event viewer open and that +running multiple instances of NSSM from different locations may be confusing if +they are not all the same version. + + Example usage ------------- To install an Unreal Tournament server: @@ -131,6 +145,7 @@ Studio 2008. Credits ------- Thanks to Benjamin Mayrargue (www.softlion.com) for adding 64-bit support. +Thanks to Joel Reingold for spotting a command line truncation bug. Licence ------- diff --git a/nssm.h b/nssm.h index 466c724..7ec40f0 100644 --- a/nssm.h +++ b/nssm.h @@ -14,8 +14,8 @@ int str_equiv(const char *, const char *); #define NSSM "nssm" -#define NSSM_VERSION "2.2" -#define NSSM_DATE "2010-04-04" +#define NSSM_VERSION "2.3" +#define NSSM_DATE "2010-04-21" #define NSSM_RUN "run" /* -- 2.20.1