Hi all,
I installed squid proxy on my machine. I didn't use the rpms coz I had to compile it with delay pools enabled. It works. To start up squid I just had to enter:
#/usr/local/squid/bin/squid (instead of the usual /etc/init.d/squid start)
As suggested, I also put a line in my rc.local file
/usr/local/squid/bin/squid -D
so that the service starts automatically whenever I boot up (instead of me having to log in and type out again). Again, it works.
Now, the problem is - there was some power fluctuation in my area (I have a power back-up but obviously it wasn't working properly) and the server booted up by itself. I went through the normal procedure of disk checks (for integrity and all that) and everything functioned normally except that squid didn't start (like it should - or so I thought). I had to type /usr/..../...... again to start it. The script in my rc.local file works properly, during a normal shutdown or reboot.
So, have I missed anything? Do I have to put another script somewhere? Its not thaaaaat big of a problem except that I have to run down four flights of stairs and sprint a quarter of a kilometer just to put that line.
I have to put up with it until that damn UPS guy waddles over. Also, I think its time I had a better squid startup configuration.
Thanks