forked from krishanthisera/Service-Start-Linux
-
Notifications
You must be signed in to change notification settings - Fork 0
stefanzib/Service-Start-Linux
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
======================================================================= + Author ::krishees@gmail.com + Features, + Check the status of the given services (as a command line argument) + and if that particular service is in down status./checksrv.sh <service> + program can turn up the particular service. + ======================================================================= + pattern-> + ./checksrv.sh <service-1> <service-2>.....<service-n> + ex-> for httpd and mysqld + ./checksrv.sh httpd mysqld + ======================================================================= + Usage-> + Using crontab (crontab -e) + * * * * * ./checksrv.sh <service> + Check the status of the service every 60 seconds and if the particular + service not up then the ./checksrv.sh will bring up the particular + services + ------------------------------------------------------------------------+ Using inittab (/etc/inittab) + Check the status of a service after particular run-level reset. After + particular run-level change and if particular service is not up then + ./checksrv.sh will bring up the particular services + ======================================================================= +
About
This shell program will check the status of the given service as the commandline arguments. If a particular service is not up then It will bring up by the checksrv.sh program.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Shell 100.0%