summaryrefslogtreecommitdiff
path: root/.inspircd.inc
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-13 01:44:22 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-13 01:44:22 +0000
commitd1ddbd62f91d4b9453447b5d25f5e41e807b0010 (patch)
tree89ee0a02bab93e38f35195d236e13f3e22906932 /.inspircd.inc
parent547e7e9b382255b1699ff897f40fb4ed659c3360 (diff)
Change to new execution directory structure
Don't change CWD into bin/ Remove path-resolution hacks from configuration Store pidfile and xline DBs in data, logs in logs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11866 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.inspircd.inc')
-rw-r--r--.inspircd.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.inspircd.inc b/.inspircd.inc
index 518d823a7..486e4cec2 100644
--- a/.inspircd.inc
+++ b/.inspircd.inc
@@ -18,7 +18,7 @@ use Fcntl;
my $basepath = "@BASE_DIR@";
my $confpath = "@CONFIG_DIR@/";
my $binpath = "@BINARY_DIR@";
-my $runpath = "@BINARY_DIR@";
+my $runpath = "@BASE_DIR@";
my $valgrindlogpath = "$basepath/valgrindlogs";
my $executable = "@EXECUTABLE@";
my $version = "@VERSION@";
@@ -372,7 +372,7 @@ sub getpidfile
}
# End of includes / No includes found. Using default.
- $pidfile = $confpath . "inspircd.pid";
+ $pidfile = $runpath . "/data/inspircd.pid";
}
sub getstatus {