summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-03-24 15:36:03 +0000
committerSadie Powell <sadie@witchery.services>2021-03-25 12:28:11 +0000
commit4ace96e5217e1566b3d4e8f06df98d583fa8a923 (patch)
tree28c7ef00d93f2ffdd19ba04d59397408120003e5
parent635cb9d65f6d7f6758ae8ed874da00c8d94b6e39 (diff)
Make the system-wide runtime directory /var/run/inspircd.
This avoids permission issues.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 4ff0fa915..83c11b5d2 100755
--- a/configure
+++ b/configure
@@ -211,7 +211,7 @@ if (defined $opt_portable) {
$config{LOG_DIR} = $opt_log_dir // catdir $config{BASE_DIR}, 'var/log/inspircd';
$config{MANUAL_DIR} = $opt_manual_dir // catdir $config{BASE_DIR}, 'usr/share/man/man1';
$config{MODULE_DIR} = $opt_module_dir // catdir $config{BASE_DIR}, 'usr/lib/inspircd';
- $config{RUNTIME_DIR} = $opt_runtime_dir // catdir $config{BASE_DIR}, 'var/run';
+ $config{RUNTIME_DIR} = $opt_runtime_dir // catdir $config{BASE_DIR}, 'var/run/inspircd';
$config{SCRIPT_DIR} = $opt_script_dir // catdir $config{BASE_DIR}, 'usr/share/inspircd';
} else {
$config{BASE_DIR} = rel2abs $opt_prefix // $config{BASE_DIR} // catdir $RealDir, 'run';