https://github.com/sr2ds/auto-revive-web-server
Simple Linux script to revive the web server
https://github.com/sr2ds/auto-revive-web-server
Last synced: 21 days ago
JSON representation
Simple Linux script to revive the web server
- Host: GitHub
- URL: https://github.com/sr2ds/auto-revive-web-server
- Owner: sr2ds
- Created: 2016-05-20T14:27:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-20T14:35:59.000Z (about 10 years ago)
- Last Synced: 2025-01-06T02:12:08.203Z (over 1 year ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Auto-Revive-Web-Server
Simple Linux script to revive the web server
This script has the function to clear the server's memory and, as a result, validate if the webserver is running as it should. If not, it will restart the services necessary for the operation of the webserver.
Tested on Debian derivatives.
For other distributions, just change the paths of service and restart call.
# Installation
## Download the auto-revive-web-server.sh
## Give execute permission:
chmod + x auto-revive-web-server.sh
## Schedule service
crontab -e
* / 5 * * * * /path/auto-revive-web-server.sh