aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-21 00:39:47 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-21 00:40:14 +0200
commit0750e2cce435be81bc6c7c4d5e143f7227e35e2a (patch)
tree492e0469d86887427a717cc1e358075170e6b2b5 /src/config.h
parentm + listen on socket (diff)
downloadmds-0750e2cce435be81bc6c7c4d5e143f7227e35e2a.tar.gz
mds-0750e2cce435be81bc6c7c4d5e143f7227e35e2a.tar.bz2
mds-0750e2cce435be81bc6c7c4d5e143f7227e35e2a.tar.xz
m + spawn and respawn master server
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/config.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index ef49b4d..df7f81a 100644
--- a/src/config.h
+++ b/src/config.h
@@ -86,6 +86,14 @@
/**
+ * The number of additional arguments a libexec server may have
+ */
+#ifndef LIBEXEC_ARGC_EXTRA_LIMIT
+#define LIBEXEC_ARGC_EXTRA_LIMIT 5
+#endif
+
+
+/**
* The maximum number of display allowed on the system
*/
#ifndef DISPLAY_MAX
@@ -102,5 +110,21 @@
#endif
+/**
+ * The directory where all servers are installed
+ */
+#ifndef LIBEXECDIR
+#define LIBEXECDIR "/usr/libexec"
+#endif
+
+
+/**
+ * The minimum time that most have elapsed for respawning to be allowed.
+ */
+#ifndef RESPAWN_TIME_LIMIT_SECONDS
+#define RESPAWN_TIME_LIMIT_SECONDS 5
+#endif
+
+
#endif