Bug#413541: Asterisk does not create /var/run/asterisk directory if not existent

Martin Jürgens martin at gamesplace.info
Mon Mar 5 20:32:27 UTC 2007


> How could that happen?

When using a TMPFS for /var/run, the init script has to manage the
directory creation. (This is not the default case in Debian)

> > +if [ ! -e `dirname $PIDFILE` ];then
> Speaking of posix-shell-strictness: is '[ -e' valid?

At least, it works for me. But you should better try ;-)


Yes, sorry!

> Generally I like this.

Great :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20070305/c499f3ee/attachment-0001.pgp

More information about the Pkg-voip-maintainers mailing list