| bio | website | kikiki |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 4 months |
| seen | Feb 22 at 9:37 | |
| stats | profile views | 0 |
|
Jan 20 |
comment |
Script to restart httpd if crashed Thanks. What I search for the moment is completing a script (CRON launched every 10 minutes for example). Is this script well written ? #!/bin/sh process = 'httpd' if ps ax | grep -v grep | grep $process then echo "$process is alive." else echo "$process is dead, but will be launched." /etc/init.d/httpd restart fi |
|
Jan 20 |
asked | Script to restart httpd if crashed |