Restarting Linux services boot time


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



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



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



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


If you have found my website useful, please consider buying me a coffee below 😉

Leave a Reply

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