Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/irc/ircd-ratbox/files/patch-include_config.h
14237 views
1
--- ./include/config.h.orig 2012-03-16 05:33:15.000000000 +0000
2
+++ ./include/config.h 2013-01-01 05:56:38.000000000 +0000
3
@@ -54,14 +54,16 @@
4
#define LOGPATH LOG_DIR
5
#define UHPATH HELP_DIR "/users"
6
#define HPATH HELP_DIR "/opers"
7
+#define RUNPATH "%%RUNDIR%%"
8
+#define DBPTH "%%DBDIR%%"
9
10
/* files */
11
#define SPATH BINPATH "/ircd" /* ircd executable */
12
#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
13
-#define DBPATH ETCPATH "/ban.db"
14
+#define DBPATH DBPTH "/ban.db"
15
#define MPATH ETCPATH "/ircd.motd" /* MOTD file */
16
#define LPATH LOGPATH "/ircd.log" /* ircd logfile */
17
-#define PPATH ETCPATH "/ircd.pid" /* pid file */
18
+#define PPATH RUNPATH "/ircd.pid" /* pid file */
19
#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
20
21
/* HANGONGOODLINK and HANGONGOODLINK
22
23