Add Squid at startup?
Hi! How do I add squid at startup?
I have squid installed at /home/squid (home has seperate partition, bigger space). the executable is at /home/squid/sbin/squid how do I add it so when my machine starts its started as well? Thanks again! :) |
Try this make a file in /etc/rc.d called rc.squid in it add this
Code:
#!/bin/sh Then edit rc.local and add Code:
if [ -x /etc/rc.d/rc.squid ]; then |
Thanks man! What type of scripting is that? Also any tutorials on those? Thanks!
|
BTW, it didn't work!
|
My bad i forgot to edit the paths to match where you have it installed
change the /usr/sbin/squid lines to /home/squid/sbin/squid. The scripting is just plain old bash scripting. http://tldp.org/LDP/abs/html/ http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html |
It worked!!! Thanks man! Thanks for the links too! :)
|
All times are GMT -5. The time now is 04:20 PM. |