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:
parent
256c49953f
commit
1e91b1c815
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user