aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-20 21:39:05 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-20 21:39:05 +0200
commitd455e2a1292ee2c3577c7268796c7f596e2cc395 (patch)
tree552fe7160c4e50fae0a693c0fc2815158a4e5de5 /src/config.h
parentcreate pid file and set environment (diff)
downloadmds-d455e2a1292ee2c3577c7268796c7f596e2cc395.tar.gz
mds-d455e2a1292ee2c3577c7268796c7f596e2cc395.tar.bz2
mds-d455e2a1292ee2c3577c7268796c7f596e2cc395.tar.xz
m + reuse display indices
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/config.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index fc8bf75..551568c 100644
--- a/src/config.h
+++ b/src/config.h
@@ -20,10 +20,18 @@
/**
+ * The name under which this package is installed
+ */
+#ifndef PKGNAME
+#define PKGNAME "mds"
+#endif
+
+
+/**
* The root directory of all runtime data stored by MDS
*/
#ifndef MDS_RUNTIME_ROOT_DIRECTORY
-#define MDS_RUNTIME_ROOT_DIRECTORY "/run/mds"
+#define MDS_RUNTIME_ROOT_DIRECTORY "/run/" PKGNAME
#endif