diff options
author | Adam <Adam@anope.org> | 2012-10-06 18:25:58 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-06 18:25:58 -0400 |
commit | a1f823fdab50c24cf38108de9d2d12a3bce0b211 (patch) | |
tree | 96a934a006d7d09fd3afeccb654d42f918254466 | |
parent | ed21362c47bd81dcade5093cba0fb76dab02b6ce (diff) |
Fix c2f7fc047c2e5bbb899c820590ce07fee593b28f
-rw-r--r-- | make/template/inspircd | 5 |
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 { |