diff options
author | Eugene Paskevich <eugene@raptor.kiev.ua> | 2014-05-06 22:09:03 +0300 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2014-05-08 10:42:52 +0200 |
commit | 26df6757ada617f423f653e114cfacfe40e607cd (patch) | |
tree | fbef804fad7b48afcbe66d8a598b7a27800b8734 /etc | |
parent | 9a34477b2a53e0a634db111095139b568ff3898a (diff) |
Revised trace file generation a bit.
- Added an option to write the date only.
- Added an option to change the hostname written into the trace file.
- Open the new temporary trace file for writing only once.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ftpsync.conf.sample | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/ftpsync.conf.sample b/etc/ftpsync.conf.sample index c8750fe..6258c57 100644 --- a/etc/ftpsync.conf.sample +++ b/etc/ftpsync.conf.sample @@ -6,7 +6,7 @@ ######################################################################## ######################################################################## -## Mirrorname. This is used for things like the trace file and should always +## Mirrorname. This is used for things like the trace file name and should always ## be the full hostname of the mirror. #MIRRORNAME=`hostname -f` @@ -108,13 +108,17 @@ ## what it will be. ## Possible values are ## "full" - all information -## "terse" - basic, timestamp only (date -u) +## "terse" - partial, ftpsync version and local hostname +## "date" - basic, timestamp only (date -u) ## "touch" - just touch the file in existance ## "none" - no tracefile at all ## ## Default and required value for Debian mirrors is full. #EXTENDEDTRACE="full" +## The local hostname to be written to the trace file. +#TRACEHOST="$(hostname -f)" + ## We sync our mirror using rsync (everything else would be insane), so ## we need a few options set. ## The rsync program |