aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-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