Change entrypoint script to support restarting the container

The index.html file contains the client configuration options which are
mutated on startup. To ensure consistency when restarting a container, a
backup of the file is made to always be used when applying the custom
settings.

Signed-off-by: Byron Ruth <b@devel.io>