Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/irc/ircd-ratbox-devel/files/patch-include_config.h
14254 views
1
--- ./include/config.h.orig 2012-04-13 15:02:51.000000000 +0100
2
+++ ./include/config.h 2012-04-13 15:06:23.000000000 +0100
3
@@ -54,15 +54,17 @@
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 OPATH ETCPATH "/opers.motd" /* oper MOTD file */
19
+#define OPATH RUNPATH "/opers.motd" /* oper MOTD file */
20
21
/* HANGONGOODLINK and HANGONGOODLINK
22
* Often net breaks for a short time and it's useful to try to
23
24