Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions assets/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ fi
echo "# time servers provided by NTP_SERVER environment variables."
} > ${CHRONY_CONF_FILE}

# If we set a BIND_ADDRESS env variable, set it in the config.
if [[ $BIND_ADDRESS ]]; then
echo "Setting bind address to: ${BIND_ADDRESS}"
echo "bindaddress ${BIND_ADDRESS}" >> ${CHRONY_CONF_FILE}
fi


# NTP_SERVERS environment variable is not present, so populate with default server
if [ -z "${NTP_SERVERS}" ]; then
Expand Down