Bug#379285: Incorrect location for asterisk.pid and asterisk.ctl

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jul 22 19:01:28 UTC 2006


On Sat, Jul 22, 2006 at 07:23:34PM +0100, Tony Hoyle wrote:
> Tzafrir Cohen wrote:
> >
> >The directory for the pid file is set in /etc/asterisk/asterisk.conf ,
> >in the section [directories], value 'astrundir'
> >
> >What do you have there?
> >
> Ahh... never heard of that setting before.  changing that worked.. thanks.
> 
> /etc/init.d/asterisk still has:
> 
> PIDFILE="/var/run/asterisk/asterisk.pid"
> 
> which needs changing manually (and perhaps should be in the default build) 
> but it does seem to work as it is.
> 
> I guess you can close this bug.  Thanks for the help.

I believe you got thing wrong: The PID should not be in
/var/run/asterisk.pid (if you want to be able to run asterisk as
non-root).

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com




More information about the Pkg-voip-maintainers mailing list