Serviços inicializando junto com Linux
uma abordagem rapida sobre inicialização vou se referir a dois serviços, o apache e o mysql, que
foram instalados por yum
utilize o comando
#su root #vim /etc/rc.local
e edite o arquivo deixando desse jeito
#!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. service httpd start service mysqld start
e oque você precisar para que inicialize junto com o sistema !
outra dica você pode usar o ntsysv digite no terminal ( como root )
#ntsysv
que vai abrir essa tela:
usando os direcionais para escolher o serviço e apertando “spaço” para habilitar e desabilitar
após utilize o TAB e va em OK.
God Bless