How to start programs automatically at boot?
I'm trying to figure out how to get some programs to start at boot. I've installed Apache, Squid, Squid Guard and Dansguardian (a web content filtering program) on Mandrake 9.0. It's on a computer for my daughter so she can safely surf the web. In order for Dansguardian to work, Apache (HTTPD) needs to be started, then Squid, then Dansguardian. When I issue the commands from root "httpd", then "squid" finally "dansguardian". all load a run perfectly.
I'd like them to load at boot time. I've added /etc/sbin/httpd /etc/sbin/squid and /etc/sbin/dansguardian to my rc.local script but they still don't load. Is there some other way to get these to load at boot time?:( |
Try something like:
chkconfig --levels 345 httpd on chkconfig --levels 345 squid on It works in RedHat but I'm not sure if it does in Madrake. I never used Mandrake before. |
Have you looked at Sys-V Init Editor - it's under Configuration - Boot and Init? It might help.
|
All times are GMT -5. The time now is 01:09 PM. |