Restarting Linux services boot time

Problem

Every time you reboot your Linux Box – web server, samba server, etc is down.



Solution

Use chkconfig. See the example tab and then reference tab for man page.



Example


Show all services


chkconfig --list

List just httpd


chkconfig --list httpd

Change restart settings so web server starts at run level 5.
(do a runlevel to see normal level – most likely 5).


chkconfig --levels 5 httpd on



Reference

[tags]chkconfig, Linux reboot, Linux services, Linux restarts, Unix Coding School[/tags]



1 thought on “Restarting Linux services boot time”

Leave a Reply

Your email address will not be published. Required fields are marked *