Admins eHow SysAdmin Tips & Tricks

May 9, 2009

How to autostart a service on Debian, CentOs and RedHat

Filed under: CentOS,Debian,General — Tags: , , , — admin @ 3:31 pm

For Debian based distros run the following command as root :

1
update-rc.d servicename defaults

For CentOS and RedHat run the following command as root :

1
chkconfig servicename on

Powered by WordPress