edfe35be6c
ok sthen@
29 lines
985 B
Plaintext
29 lines
985 B
Plaintext
$OpenBSD: patch-include_defaults_h,v 1.6 2013/08/07 23:41:08 brad Exp $
|
|
--- include/defaults.h.orig Thu May 23 16:00:07 2013
|
|
+++ include/defaults.h Thu May 30 18:58:14 2013
|
|
@@ -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/"
|
|
@@ -55,9 +60,9 @@
|
|
#define MODPATH LIBDIR "/" PACKAGE "/modules/"
|
|
#define HPATH DATADIR "/" PACKAGE "/help"
|
|
#define AUTOMODPATH MODPATH "/autoload/"
|
|
-#define ETCPATH SYSCONFDIR
|
|
-#define LOGPATH LOCALSTATEDIR "/log"
|
|
-#define RUNPATH LOCALSTATEDIR "/run"
|
|
+#define ETCPATH SYSCONFDIR "/ircd-hybrid/"
|
|
+#define LOGPATH LOCALSTATEDIR "/log/ircd-hybrid"
|
|
+#define RUNPATH LOCALSTATEDIR "/run/ircd-hybrid"
|
|
|
|
/* files */
|
|
#define SPATH SBINPATH "/ircd" /* ircd executable */
|