X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=nssm.h;h=1c78d1896270373a2ea888c204974fc76680fbd7;hb=f13f3f81d7ad3ccda728d06f615ce5f724023f4e;hp=cbfa15fdf7fa09a0785c43a9535748d20724105b;hpb=c03d51cbbfe9f4f8a28dbabbfc068573a1842b74;p=nssm.git diff --git a/nssm.h b/nssm.h index cbfa15f..1c78d18 100644 --- a/nssm.h +++ b/nssm.h @@ -41,6 +41,8 @@ #include #include #include "service.h" +#include "account.h" +#include "console.h" #include "env.h" #include "event.h" #include "imports.h" @@ -57,7 +59,6 @@ int str_number(const TCHAR *, unsigned long *, TCHAR **); int str_number(const TCHAR *, unsigned long *); int num_cpus(); int usage(int); -void banner(); #define NSSM _T("NSSM") #ifdef _WIN64 @@ -95,6 +96,9 @@ void banner(); */ #define NSSM_KILL_THREADS_GRACE_PERIOD 1500 +/* How many milliseconds to pause after rotating logs. */ +#define NSSM_ROTATE_DELAY 0 + /* Margin of error for service status wait hints in milliseconds. */ #define NSSM_WAITHINT_MARGIN 2000