mirror of
https://github.com/bstansell/conserver.git
synced 2025-03-15 08:40:46 +00:00
Add support for specifying `reinitcheck` in seconds instead of default minutes. If no unit is specified, minutes are used for backward compatibility. Signed-off-by: Jacek Tomasiak <jtomasiak@arista.com> Signed-off-by: Jacek Tomasiak <jacek.tomasiak@gmail.com>
33 lines
394 B
CFEngine3
33 lines
394 B
CFEngine3
# test conserver config file
|
|
default full {
|
|
rw *;
|
|
}
|
|
default * {
|
|
logfile ./&;
|
|
timestamp "";
|
|
include full;
|
|
}
|
|
config * {
|
|
reinitcheck 1s;
|
|
}
|
|
break 5 {
|
|
string "\rtest\r";
|
|
}
|
|
console shell {
|
|
master 127.0.0.1;
|
|
logfile ./&.log;
|
|
timestamp 5;
|
|
type exec;
|
|
exec "";
|
|
}
|
|
console shell2 {
|
|
master 127.0.0.1;
|
|
logfile ./shell2.log;
|
|
timestamp 2;
|
|
type exec;
|
|
exec "";
|
|
}
|
|
access * {
|
|
trusted 127.0.0.1;
|
|
}
|