Add timestamp.txt for rsync mirrors

This will be helpful for project who want to check datetime of our
last update. I plan to add this to reprepro too, however that is a
larger refactor.

Change-Id: I768152b572098240ad2c60567880ca5ba48c6450
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-08-25 15:33:12 -04:00
parent 256c49953f
commit 1e91b1c815
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ $K5START rsync -rlptDvz \
# TODO(pabelanger): Validate rsync process # TODO(pabelanger): Validate rsync process
date --iso-8601=ns date --iso-8601=ns | $K5START tee $BASE/timestamp.txt
echo "rsync completed successfully, running vos release." echo "rsync completed successfully, running vos release."
k5start -t -f /etc/afsadmin.keytab service/afsadmin -- vos release -v $MIRROR_VOLUME k5start -t -f /etc/afsadmin.keytab service/afsadmin -- vos release -v $MIRROR_VOLUME

View File

@ -38,7 +38,7 @@ $K5START rsync -rlptDvz \
# TODO(pabelanger): Validate rsync process # TODO(pabelanger): Validate rsync process
date --iso-8601=ns date --iso-8601=ns | $K5START tee $BASE/timestamp.txt
echo "rsync completed successfully, running vos release." echo "rsync completed successfully, running vos release."
k5start -t -f /etc/afsadmin.keytab service/afsadmin -- vos release -v $MIRROR_VOLUME k5start -t -f /etc/afsadmin.keytab service/afsadmin -- vos release -v $MIRROR_VOLUME