[Pkg-voip-commits] r3528 - openser/trunk/debian

Julien Blache jblache at alioth.debian.org
Sat May 12 09:38:52 UTC 2007


Author: jblache
Date: 2007-05-12 09:38:51 +0000 (Sat, 12 May 2007)
New Revision: 3528

Modified:
   openser/trunk/debian/changelog
   openser/trunk/debian/openser.init
Log:
Create /var/run/openser if it doesn't exist.


Modified: openser/trunk/debian/changelog
===================================================================
--- openser/trunk/debian/changelog	2007-05-12 09:24:29 UTC (rev 3527)
+++ openser/trunk/debian/changelog	2007-05-12 09:38:51 UTC (rev 3528)
@@ -4,6 +4,8 @@
 
   * debian/control:
     + Build-Depend on libsnmp-dev instead of libsnmp10-dev.
+  * debian/openser.init:
+    + Create /var/run/openser if it doesn't exist.
   * debian/patches/20_usrloc_lockset_fixes.dpatch:
     + Removed; from upstream SVN.
   * debian/patches/21_pua_lock_fix.dpatch:
@@ -11,7 +13,7 @@
   * debian/patches/22_perl_sysv_sem.dpatch:
     + Removed; merged upstream.
 
- -- Julien BLACHE <jblache at debian.org>  Sat, 12 May 2007 11:23:56 +0200
+ -- Julien BLACHE <jblache at debian.org>  Sat, 12 May 2007 11:38:16 +0200
 
 openser (1.2.0-4) unstable; urgency=low
 

Modified: openser/trunk/debian/openser.init
===================================================================
--- openser/trunk/debian/openser.init	2007-05-12 09:24:29 UTC (rev 3527)
+++ openser/trunk/debian/openser.init	2007-05-12 09:38:51 UTC (rev 3528)
@@ -95,6 +95,11 @@
     ulimit -c unlimited
 fi
 
+# /var/run can be a tmpfs
+if [ -d $HOMEDIR ]; then
+    mkdir -p $HOMEDIR
+fi
+
 OPTIONS="-P $PIDFILE -m $MEMORY -u $USER -g $GROUP"
 
 case "$1" in




More information about the Pkg-voip-commits mailing list