Proper Way To Start Asterisk On CentOS 7? (Carlos Chavez)

Home » Asterisk Users » Proper Way To Start Asterisk On CentOS 7? (Carlos Chavez)
Asterisk Users 1 Comment

Hi Carlos

I have experienced something similar starting Asterisk 1.8.32.3 on CentOS 7
on commodity / whitebox hardware.

The problem was that Asterisk was starting “too quickly” in the systemd startup sequence, before the required services it needs to run were up and ready.

I eventually came up with this systemd script to start it, and this now starts Asterisk on all our our new CentOS 7-using deployments.

Maybe you can try it out…? This starts our Asterisk 1.8 instances without problems on CentOS 7 on boot:

One thought on - Proper Way To Start Asterisk On CentOS 7? (Carlos Chavez)

  • IIRC, mysql is socket activated, and hence services don’t need to have any explicit dependency on it Remove those two.

    Huh? Stick the the default: Type