I need to download a file from an external location eg http://s3.amazonaws.com/my-bucket/config.xml and then save that file to /etc/config.xml when the server starts.
What is the best way to do this in fedora?
I assume I need some boot script as this need to be done every restart/start.
Just to clarify, the process will be:
- Server boots up
- Server downloads file from the location
- Server runs command "serivce httpd start"