--- src/config.h.orig 2003-09-13 21:04:28.894714336 -0400 +++ src/config.h 2003-09-13 21:07:43.610113096 -0400 @@ -7,16 +7,16 @@ */ /* Location of the various external files */ -#define FILE_MOTD "game.motd" /* Message of the Day File */ -#define FILE_PMOTD "game.pmotd" /* Playback motd */ -#define FILE_CONF "game.conf" /* Game configuration File */ -#define FILE_WINLIST "game.winlist" /* Winlist storage file */ -#define FILE_WINLIST2 "game.winlist2" /* Winlist storage file */ -#define FILE_WINLIST3 "game.winlist3" /* Winlist storage file */ +#define FILE_MOTD "GENTOO_CONFDIR/game.motd" /* Message of the Day File */ +#define FILE_PMOTD "GENTOO_CONFDIR/game.pmotd" /* Playback motd */ +#define FILE_CONF "GENTOO_CONFDIR/game.conf" /* Game configuration File */ +#define FILE_WINLIST "GENTOO_STATEDIR/game.winlist" /* Winlist storage file */ +#define FILE_WINLIST2 "GENTOO_STATEDIR/game.winlist2" /* Winlist storage file */ +#define FILE_WINLIST3 "GENTOO_STATEDIR/game.winlist3" /* Winlist storage file */ -#define FILE_BAN "game.ban" /* List of Banned IP's */ -#define FILE_BAN_COMPROMISE "game.ban.compromise" /* List of Banned IP's */ -#define FILE_ALLOW "game.allow" /* List of allow IP's */ -#define FILE_LOG "game.log" /* Logfile */ -#define FILE_PID "game.pid" /* Default PID */ -#define FILE_SECURE "game.secure" /* Security file */ +#define FILE_BAN "GENTOO_CONFDIR/game.ban" /* List of Banned IP's */ +#define FILE_BAN_COMPROMISE "GENTOO_CONFDIR/game.ban.compromise" /* List of Banned IP's */ +#define FILE_ALLOW "GENTOO_CONFDIR/game.allow" /* List of allow IP's */ +#define FILE_LOG "GENTOO_LOGDIR/tetrix.log" /* Logfile */ +#define FILE_PID "/var/run/tetrix.pid" /* Default PID */ +#define FILE_SECURE "GENTOO_CONFDIR/game.secure" /* Security file */ --- bin/game.conf.orig 2003-09-13 21:21:03.748473576 -0400 +++ bin/game.conf 2003-09-13 21:21:12.584130352 -0400 @@ -8,7 +8,7 @@ # Any text after a # is ignored, and can be used as comments. # pidfile [game.pid] - Where should the Process ID be written -pidfile=game.pid +pidfile=/var/run/tetrix.pid # bindip [0.0.0.0] - What IP should server be bound to (0.0.0.0 means all) bindip=0.0.0.0