AoA!
I installed squid-2.5.STABLE12. Everything work fine. when i restart machine afterthat i need to be manually start squid. I want to set squid to boot run level.
secondly i start squid with ./squid command. I want to run start service with just (squid start) command.
I add ./squid command to rc.local. but after restart machine that's not restarted. Again i start squid manually.
Anybody can solve these problems. 1) squid start on startup 2) squid service start with squid command don't with ./squid.
thanks
Majid Nazeer
squid service start with ./squid
-
- Havaldaar
- Posts: 142
- Joined: Fri Sep 22, 2006 8:33 pm
- Contact:
try this command
chkconfig –-level 3 squid on
this is auto matically start squid service when you login in init level 3
this is auto matically start squid service when you login in init level 3
Re: squid service start with ./squid
majidnazeer wrote:AoA!
I add ./squid command to rc.local. but after restart machine that's not restarted. Again i start squid manually.
add it like
/path/to/squid/sbin/squid i.e /usr/local/squid/sbin/squid
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re: try this command
Dear kbukhari,
Salam,

Best Regards.
Salam,
This one is better then adding it into rc.localsoh_2000s wrote:chkconfig –-level 3 squid on

Best Regards.
Farrukh Ahmed
Re: try this command
it will not work when you are using own compiled squid . you will need the startup and stop script at /etc/init.d/squidLinuxFreaK wrote:Dear kbukhari,
Salam,
This one is better then adding it into rc.localsoh_2000s wrote:chkconfig –-level 3 squid on
Best Regards.
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear kbukhari,
Salam,
If some one know howto compile then he should know why he is compiling. BTW one who is compiling squid need to copy init script from squid source to /etc/init.d
Best Regards.
Salam,
If some one know howto compile then he should know why he is compiling. BTW one who is compiling squid need to copy init script from squid source to /etc/init.d
Best Regards.
Farrukh Ahmed