diff --git a/ChangeLog b/ChangeLog index a24a9b14fae3b949d3b78ec692ac3aff2fdf2743..e4690794bd989f2ee5838410a0a62b38bd43327d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2008-03-31 Per Cederqvist <ceder@lysator.liu.se> + + Turn off the garb by default, due to popular request. + * doc/lyskomd.texi (Parameters): Changed "Garb" from "on" to + "off". + (Administration): Suggest that the administrator may want to turn + on the garb. + * src/server/server-config.c (parameters): Changed "Garb" from + "on" to "off". + 2007-07-14 Per Cederqvist <ceder@lysator.liu.se> Fixed a broken example in the documentation. diff --git a/doc/lyskomd.texi b/doc/lyskomd.texi index fc3d5b907ddfb102d28f90879a3f5986e3d5c3a0..32e23bc27983245e5f41e14420ec5bf345ad4e97 100644 --- a/doc/lyskomd.texi +++ b/doc/lyskomd.texi @@ -335,7 +335,7 @@ option is ignored in lyskomd 1.9 and later. Set this using dbck or the @item Garb: @var{bool} Should the database be automatically purged of old texts? The default -is on. +is off. @item Never save: @var{bool} Completely disables saving the database. Do not set this to @code{true} @@ -1286,6 +1286,10 @@ old texts are never removed. The information file contains information about conferences, users and where in the text file the texts are. This file is properly garbage collected, but not the text file. +You may want to enable the garb, so that old texts are automatically +removed. Be default, the garb is disabled, to avoid losing texts. +@xref{Parameters}. + There is a program called @code{dbck} (Data Base Check) which is used to check the consistency of the LysKOM database. This program can also be used to shrink the text file. To do this, just type @samp{dbck diff --git a/src/server/server-config.c b/src/server/server-config.c index 286f4dd4c257043e2881e4a2b80495314b214565..6cf9f3eb1128c59a14308b8655208eb9175a087e 100644 --- a/src/server/server-config.c +++ b/src/server/server-config.c @@ -132,7 +132,7 @@ static const struct parameter parameters[] = { &cf_text_no, 0, 1, "0", &kom_info.motd_of_lyskom, NULL}, {"Garb", - &cf_bool, 0, 1, "on", ¶m.garb_enable, + &cf_bool, 0, 1, "off", ¶m.garb_enable, NULL}, {"Never save", &cf_bool, 0, 1, "no", ¶m.never_save,