summaryrefslogtreecommitdiff
path: root/make/template/inspircd
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-06 18:25:58 -0400
committerAdam <Adam@anope.org>2012-10-06 18:25:58 -0400
commita1f823fdab50c24cf38108de9d2d12a3bce0b211 (patch)
tree96a934a006d7d09fd3afeccb654d42f918254466 /make/template/inspircd
parented21362c47bd81dcade5093cba0fb76dab02b6ce (diff)
Fix c2f7fc047c2e5bbb899c820590ce07fee593b28f
Diffstat (limited to 'make/template/inspircd')
-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 {