diff options
author | Sadie Powell <sadie@witchery.services> | 2021-01-18 06:56:18 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-01-18 07:05:27 +0000 |
commit | a59ed4b39443eb788c15c65501898ca374387e2e (patch) | |
tree | a20c0bee867288e956d171ed733b3c7747c2a316 /make/template/config.h | |
parent | 8b2f3980cc8e5bfb0153981b5ca6b08ca39392c2 (diff) |
Add a new runtime directory and move the pid file to it.
The data directory is intended for persistent files whereas the pid
file is ephemeral. This distinction doesn't matter by default but
on system-wide installs ephemeral runtime files go in /var/run or
/run instead.
Diffstat (limited to 'make/template/config.h')
-rw-r--r-- | make/template/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/make/template/config.h b/make/template/config.h index 034191893..97dd15453 100644 --- a/make/template/config.h +++ b/make/template/config.h @@ -43,6 +43,9 @@ /** The default location that module files are stored in. */ #define INSPIRCD_MODULE_PATH "@MODULE_DIR@" +/** The default location that runtime files are stored in. */ +#define INSPIRCD_RUNTIME_PATH "@RUNTIME_DIR@" + /** The URL of the InspIRCd docs site. */ #define INSPIRCD_DOCS "https://docs.inspircd.org/@VERSION_MAJOR@/" |