X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=nssm.h;h=01885eb823826091e094d6b8e216d6fb2e0ade39;hb=9727e8ada22d4da8a492b7da0a19d88e4394d59e;hp=602c0c9e865075c75e5e9257e3aa1295e1e958aa;hpb=859c7ca832ff02cb5a4f27693d7b997034daa42a;p=nssm.git diff --git a/nssm.h b/nssm.h index 602c0c9..01885eb 100644 --- a/nssm.h +++ b/nssm.h @@ -16,9 +16,8 @@ int str_equiv(const char *, const char *); #define NSSM "nssm" -#define NSSM_VERSION "2.7" -#define NSSM_DATE "2011-01-25" -#define NSSM_RUN "run" +#define NSSM_VERSION "2.16" +#define NSSM_DATE "2012-12-01" /* MSDN says the commandline in CreateProcess() is limited to 32768 characters @@ -35,10 +34,15 @@ int str_equiv(const char *, const char *); /* Throttle the restart of the service if it stops before this many - milliseconds have elapsed since startup. + milliseconds have elapsed since startup. Override in registry. */ #define NSSM_RESET_THROTTLE_RESTART 1500 +/* + How many milliseconds to wait for the application to die after sending + a Control-C event to its console. +*/ +#define NSSM_KILL_CONSOLE_GRACE_PERIOD 1500 /* How many milliseconds to wait for the application to die after posting to its windows' message queues.