git://git.iain.cx/iain
/
nssm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow setting application priority.
[nssm.git]
/
nssm.h
diff --git
a/nssm.h
b/nssm.h
index
784bd55
..
70d5396
100644
(file)
--- a/
nssm.h
+++ b/
nssm.h
@@
-80,6
+80,14
@@
int usage(int);
#define NSSM_EXIT_UNCLEAN 3
\r
#define NSSM_NUM_EXIT_ACTIONS 4
\r
\r
#define NSSM_EXIT_UNCLEAN 3
\r
#define NSSM_NUM_EXIT_ACTIONS 4
\r
\r
+/* Process priority. */
\r
+#define NSSM_REALTIME_PRIORITY 0
\r
+#define NSSM_HIGH_PRIORITY 1
\r
+#define NSSM_ABOVE_NORMAL_PRIORITY 2
\r
+#define NSSM_NORMAL_PRIORITY 3
\r
+#define NSSM_BELOW_NORMAL_PRIORITY 4
\r
+#define NSSM_IDLE_PRIORITY 5
\r
+
\r
/* How many milliseconds to wait before updating service status. */
\r
#define NSSM_SERVICE_STATUS_DEADLINE 20000
\r
\r
/* How many milliseconds to wait before updating service status. */
\r
#define NSSM_SERVICE_STATUS_DEADLINE 20000
\r
\r