1 reputation
bio website kikiki
location
age
visits member for 1 year, 2 months
seen Feb 22 '13 at 9:37

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