From a1f823fdab50c24cf38108de9d2d12a3bce0b211 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 6 Oct 2012 18:25:58 -0400 Subject: Fix c2f7fc047c2e5bbb899c820590ce07fee593b28f --- make/template/inspircd | 5 +++-- 1 file 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 { -- cgit v1.2.3