[Pkg-voip-commits] r5082 - in /destar/trunk/debian: changelog destar.init

santiago at alioth.debian.org santiago at alioth.debian.org
Sun Dec 9 11:36:33 UTC 2007


Author: santiago
Date: Sun Dec  9 11:36:33 2007
New Revision: 5082

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5082
Log:
debian/destar.init: recreate /var/run/destar if missing and chown it to 
asterisk (From Ubuntu's patch)


Modified:
    destar/trunk/debian/changelog
    destar/trunk/debian/destar.init

Modified: destar/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/destar/trunk/debian/changelog?rev=5082&op=diff
==============================================================================
--- destar/trunk/debian/changelog (original)
+++ destar/trunk/debian/changelog Sun Dec  9 11:36:33 2007
@@ -9,6 +9,10 @@
 
   [Alejandro Rios]
   * Properly call update-alternatives remove on debian/prerm (Closes: #452550)
+
+  [Santiago Ruano Rincón]
+  * debian/destar.init: recreate /var/run/destar if missing and chown it to
+    asterisk (From Ubuntu's patch)
 
  -- Kilian Krause <kilian at debian.org>  Sat, 22 Sep 2007 17:13:16 +0200
 

Modified: destar/trunk/debian/destar.init
URL: http://svn.debian.org/wsvn/pkg-voip/destar/trunk/debian/destar.init?rev=5082&op=diff
==============================================================================
--- destar/trunk/debian/destar.init (original)
+++ destar/trunk/debian/destar.init Sun Dec  9 11:36:33 2007
@@ -35,6 +35,11 @@
 
 set -e
 
+if [ ! -d /var/run/$NAME/ ] ; then
+	mkdir -m 0755 /var/run/$NAME/
+	chown asterisk /var/run/$NAME/
+fi
+
 case "$1" in
   start)
 	echo -n "Starting $DESC: "




More information about the Pkg-voip-commits mailing list