summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make/template/inspircd5
1 files changed, 3 insertions, 2 deletions
diff --git a/make/template/inspircd b/make/template/inspircd
index 88eb7ee6a..322ee2cd6 100644
--- a/make/template/inspircd
+++ b/make/template/inspircd
@@ -26,7 +26,8 @@ use Fcntl;
my $basepath = "@BASE_DIR@";
my $confpath = "@CONFIG_DIR@/";
my $binpath = "@BINARY_DIR@";
-my $runpath = "@DATA_DIR@";
+my $runpath = "@BASE_DIR@";
+my $datadir = "@DATA_DIR@";
my $valgrindlogpath = "$basepath/valgrindlogs";
my $executable = "@EXECUTABLE@";
my $version = "@VERSION@";
@@ -382,7 +383,7 @@ sub getpidfile
}
# End of includes / No includes found. Using default.
- $pidfile = $runpath . "/inspircd.pid";
+ $pidfile = $datadir . "/inspircd.pid";
}
sub getstatus {