044fb677fb
- cleanup port from brad tested by aja@ edd@
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
$OpenBSD: patch-include_defaults_h,v 1.3 2011/10/19 13:46:17 jasper Exp $
|
|
--- include/defaults.h.orig Thu Aug 18 12:21:47 2011
|
|
+++ include/defaults.h Fri Oct 14 15:08:11 2011
|
|
@@ -47,6 +47,11 @@
|
|
* AUTOMODPATH = directory for autoloaded modules
|
|
*/
|
|
|
|
+/* users */
|
|
+#ifndef IRCD_USER
|
|
+#define IRCD_USER "_ircd-hybrid"
|
|
+#endif
|
|
+
|
|
/* dirs */
|
|
#define DPATH PREFIX
|
|
#define SBINPATH PREFIX "/sbin/"
|
|
@@ -56,8 +61,8 @@
|
|
#define HPATH DATADIR "/" PACKAGE "/help/opers"
|
|
#define UHPATH DATADIR "/" PACKAGE "/help/users"
|
|
#define AUTOMODPATH MODPATH "/autoload/"
|
|
-#define ETCPATH SYSCONFDIR
|
|
-#define LOGPATH LOCALSTATEDIR "/log"
|
|
+#define ETCPATH SYSCONFDIR "/ircd-hybrid/"
|
|
+#define LOGPATH LOCALSTATEDIR "/log/ircd-hybrid"
|
|
|
|
/* files */
|
|
#define SPATH SBINPATH "/ircd" /* ircd executable */
|
|
@@ -73,7 +78,7 @@
|
|
#define RKPATH ETCPATH "/rkline.conf"
|
|
#define MPATH ETCPATH "/ircd.motd" /* MOTD file */
|
|
#define LPATH LOGPATH "/ircd.log" /* ircd logfile */
|
|
-#define PPATH LOCALSTATEDIR "/ircd.pid" /* pid file */
|
|
+#define PPATH LOCALSTATEDIR "/run/ircd-hybrid/ircd.pid" /* pid file */
|
|
#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
|
|
#define LIPATH ETCPATH "/links.txt" /* cached links file */
|
|
|