|
I'm using a small shell script for some similar occasions. Some static websites are located on my venerable 150, being proxied to the world via Apache. But when the 150 is down for whatever reason, the shell script sees no connection possible to port 80, changes configuration files to use a Linux local copy, and reloads Apache to activate the config changes. Can send it to you if you're interested. I bet you can easily adopt it to reflect your requirements.
:wq! PoC
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.