How to start squid command when computer start fedora
Hello
every one This is Raju Netha form Hyderabad can your help me on this /etc/rc.d/init.d/squid start command when computer start fedora Regards- Rajunetha |
I take it that squid is not starting when the machine boots currently?
You need to know what your default runlevel is, you can find this out by typing: Code:
runlevel Assuming that your default runlevel is 3 and that you have a /etc/rc3.d folder. (as root): Code:
ln -s /etc/rc.d/init.d/squid /etc/rc3.d/S99squid |
My default runlevel is N 5.
[root@localhost ~]# runlevel N 5 [root@localhost ~]# After booting I am giving command using Terminal [root@localhost ~]#/etc/rc.d/init.d/squid start it is starting. |
What is the output from:
Code:
find /etc -type d -name rc5.d Code:
find /etc -type f -name '*squid*' |
i did not get you
my terminal default prompt is [root@localhost ~]# |
form there i am typing this command line
/etc/rc.d/init.d/squid start |
Yes, I understand that.
Generally, the system startup scripts are in a sub folder of /etc There would be a folder for each run level ( rc1.d rc2.d rc3.d etcetera) What I was trying to find out from the find commands I asked you to perform, was "Where is your rc5.d folder located?" and "Do you have an automated startup file for squid at any run level?" Please can you run the commands and let me know the results. |
All times are GMT -5. The time now is 06:39 AM. |