Bug#413541: Asterisk does not create /var/run/asterisk directory if
not existent
Martin Jürgens
martin at gamesplace.info
Mon Mar 5 18:54:00 UTC 2007
Package: asterisk
Version: 1:1.2.16~dfsg-1
Asterisk does not create /var/run/asterisk directory if not existent.
Diff which should solve that:
diff -u asterisk-1.2.16~dfsg/debian/asterisk.init
asterisk-1.2.16~dfsg/debian/asterisk.init
--- asterisk-1.2.16~dfsg/debian/asterisk.init
+++ asterisk-1.2.16~dfsg/debian/asterisk.init
@@ -71,6 +71,11 @@
set -e
+if [ ! -e `dirname $PIDFILE` ];then
+ mkdir `dirname $PIDFILE`
+ chown $USER.$GROUP `dirname $PIDFILE`
+fi
+
if [ "$UMASK" != '' ]
then
umask $UMASK
only in patch2:
unchanged:
-------------- 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/e53fba15/attachment.pgp
More information about the Pkg-voip-maintainers
mailing list