Reputation
Top tag
Next privilege 5 Rep.
Participate in meta
Badges
0 0 0
Impact
~284 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
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