start services automatically

Home » Asterisk Users » start services automatically
Asterisk Users 5 Comments

Hello All,

i have asterisk installed in my call centre without any issue I would like
to ask you some questions related to services.

i want to start asterisk and httpd and aheevacti automatically when the
server centos reboot or shutdown

becouse i must start all services manually (service asterisk start ,service
httpd start ……………)

Maybe i must use crontab but I don’t know how to do, any help please

Thanks and Regards

5 thoughts on - start services automatically

  • When installing asterisk you should type “make config” to have
    asterisk create init script automatically.

    For http ” chkconfig httpd on”

    Adolphe Cher-aime
    From my Iphone

    On Dec 20, 2010, at 5:48 AM, salaheddine elharit

  • when i make “chkconfig httpd on” and “chkconfig asterisk on”

    with chkconfig –list i found

    httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    asterisk 0:off 1:off 2:on 3:on 4:on 5:on 6:off

    the 0,1, and 6 are OFF just the 2,3,4,5 are ON ,
    and when i reboot the server i found that the service httpd is off with
    command “service httpd status” and service asterisk status

    please advice

    Best Regards,

    2010/12/20 salaheddine elharit

  • This is just one of many problems you will encounter. You need to train
    or hire an actual Unix/Linux system administrator.