Skip to content

Commit b69c0f9

Browse files
committed
Fix
1 parent a93d577 commit b69c0f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/aws/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ sync_enclave_time_with_offset_once || true
5151
install_time_sync_cron() {
5252
mkdir -p /etc/cron.d
5353
cat > /etc/cron.d/uid-time-sync <<EOF
54-
*/5 * * * * root current_time=\$(curl -sSf "${TIME_SYNC_URL}") && date -u -s "\${current_time}" && echo "Time sync: updated enclave time to \${current_time}"
54+
*/5 * * * * root current_time=\$(curl -sSf -x "${TIME_SYNC_PROXY}" "${TIME_SYNC_URL}") && date -u -s "\${current_time}" && echo "Time sync: updated enclave time to \${current_time}" >>/proc/1/fd/1 2>>/proc/1/fd/2
5555
EOF
5656
chmod 0644 /etc/cron.d/uid-time-sync
5757
cron

0 commit comments

Comments
 (0)