Allows you to search a variety of questions and answers
This is true for CentOS/RHEL/FC flavors.
Login as root user and go to /etc/rc.d directory. You will need to edit the rc.local file. There, add your own command line to start the service of your choice.
How can I add a service to run at boot?
This is for RH-based OS only.
You will need to use the chkconfig command. Here, I will use snmpd as the example.
To add snmpd to the rc0-6.d directory and to have it boot at 2,3,4,5 runlevels, issue the following commands:
chkconfig --level 2345 snmpd on
chkconfig --add snmpd
07-31-2009, 11:54 AM
If you are on a Debian/Ubuntu system:
Code:
update-rc.d <service> defaults
Run above as root and replace <service> with the service you want to run at boot time. ex: httpd, snmpd, etc.
To remove
Code:
update-rc.d -f <service> remove
Simply the best. have been using them from last 2 years. Remember Dedicated servers are hardware so few times problem do arrive. but always fixed in time. Really really Positive attitude from President.
AYK provide a very good value product, and always in a professional manner. I have used several hosting companies over the past 17 years. During that time I occasionally needed help with a variety of minor setup issues. Only AYK gave quick and helpful answers. I highly recommend them.
Even though I only have a shared hosting plan, their technical support team responded to my tech support request within the hour, and correctly to boot. (I needed to have a subdomain point to a Tumblr blog by changing the CNAME.)