View Single Post

  #1 (permalink)  
Old 06-10-2008, 02:01 PM
asim.mcp asim.mcp is offline
Member
User
 
Join Date: Jul 2006
Posts: 50
Rep Power: 0
asim.mcp
Angry shell script to start a service

Hi.

I need a script which could start squid automatically if it stops.
I've added squid into rc.local but sometimes when i start my machine it does not start automatically, can anyone help to write a script which could check if squid has started then it would not start again and if squid has not been started then it would start automatically..

Regards
Asim
Reply With Quote