patch-include_config.h 815 B

12345678910111213141516171819202122
  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. /* files */
  10. #define SPATH BINPATH "/ircd" /* ircd executable */
  11. #define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
  12. -#define DBPATH ETCPATH "/ban.db"
  13. +#define DBPATH DBPTH "/ban.db"
  14. #define MPATH ETCPATH "/ircd.motd" /* MOTD file */
  15. #define LPATH LOGPATH "/ircd.log" /* ircd logfile */
  16. -#define PPATH ETCPATH "/ircd.pid" /* pid file */
  17. +#define PPATH RUNPATH "/ircd.pid" /* pid file */
  18. #define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
  19. /* HANGONGOODLINK and HANGONGOODLINK