My company’s UNIX team requires applications to run under /opt/apps/. I’m trying to use the -C option when I run asterisk (usr/sbin/asterisk -C /opt/apps/…/asterisk.conf).
In asterisk.conf, I’ve set astrundir => /opt/apps/asterisk/var/run. asterisk.pid and asterisk.ctl show up in this directory, but I can’t reconnect to the cli (usr/sbin/asterisk -r).
What am I doing wrong?