-#define SPATH BINPATH "/ircd" /* ircd executable */
-#define LIPATH LIBPATH "/libircd" SHARED_SUFFIX /* ircd library */
-#define SLPATH BINPATH "/servlink" /* servlink executable */
-#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
-#define KPATH ETCPATH "/kline.conf" /* kline file */
-#define DLPATH ETCPATH "/dline.conf" /* dline file */
-#define XPATH ETCPATH "/xline.conf" /* xline file */
-#define RESVPATH ETCPATH "/resv.conf" /* resv file */
-#define RPATH ETCPATH "/ircd.rsa" /* ircd rsa private keyfile */
-#define MPATH ETCPATH "/ircd.motd" /* MOTD file */
-#define LPATH LOGPATH "/ircd.log" /* ircd logfile */
-#define PPATH ETCPATH "/ircd.pid" /* pid file */
-#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
+#define SPATH BINPATH "/" PROGRAM_PREFIX "charybdis" /* ircd executable */
+#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
+#define MPATH ETCPATH "/ircd.motd" /* MOTD file */
+#define LPATH LOGPATH "/ircd.log" /* ircd logfile */
+#define PPATH PKGRUNDIR "/ircd.pid" /* pid file */
+#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
+#define DBPATH PKGLOCALSTATEDIR "/ban.db" /* bandb file */