Module: sip-router
Branch: master
Commit: 399fad110b0a92cca851b041389b65228caed051
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=399fad1…
Author: Iñaki Baz Castillo <ibc(a)aliax.net>
Committer: Iñaki Baz Castillo <ibc(a)aliax.net>
Date: Thu Aug 4 11:40:43 2011 +0200
debian: fix in init script (somewhere it was still using $MEMORY rather than the new
$SHM_MEMORY).
---
pkg/kamailio/deb/debian/kamailio.init | 2 +-
pkg/kamailio/deb/lenny/kamailio.init | 2 +-
pkg/kamailio/deb/lucid/kamailio.init | 2 +-
pkg/kamailio/deb/squeeze/kamailio.init | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pkg/kamailio/deb/debian/kamailio.init
b/pkg/kamailio/deb/debian/kamailio.init
index 4c9a4a5..6bbb2f7 100644
--- a/pkg/kamailio/deb/debian/kamailio.init
+++ b/pkg/kamailio/deb/debian/kamailio.init
@@ -138,7 +138,7 @@ if [ "$SSD_SUID" != "yes" ]; then
OPTIONS="-f $CFGFILE -P $PIDFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g
$GROUP"
SSDOPTS=""
else
- OPTIONS="-f $CFGFILE -P $PIDFILE -m $MEMORY -M $PKG_MEMORY"
+ OPTIONS="-f $CFGFILE -P $PIDFILE -m $SHM_MEMORY -M $PKG_MEMORY"
SSDOPTS="--chuid $USER:$GROUP"
fi
diff --git a/pkg/kamailio/deb/lenny/kamailio.init b/pkg/kamailio/deb/lenny/kamailio.init
index 4c9a4a5..6bbb2f7 100644
--- a/pkg/kamailio/deb/lenny/kamailio.init
+++ b/pkg/kamailio/deb/lenny/kamailio.init
@@ -138,7 +138,7 @@ if [ "$SSD_SUID" != "yes" ]; then
OPTIONS="-f $CFGFILE -P $PIDFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g
$GROUP"
SSDOPTS=""
else
- OPTIONS="-f $CFGFILE -P $PIDFILE -m $MEMORY -M $PKG_MEMORY"
+ OPTIONS="-f $CFGFILE -P $PIDFILE -m $SHM_MEMORY -M $PKG_MEMORY"
SSDOPTS="--chuid $USER:$GROUP"
fi
diff --git a/pkg/kamailio/deb/lucid/kamailio.init b/pkg/kamailio/deb/lucid/kamailio.init
index 4c9a4a5..6bbb2f7 100644
--- a/pkg/kamailio/deb/lucid/kamailio.init
+++ b/pkg/kamailio/deb/lucid/kamailio.init
@@ -138,7 +138,7 @@ if [ "$SSD_SUID" != "yes" ]; then
OPTIONS="-f $CFGFILE -P $PIDFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g
$GROUP"
SSDOPTS=""
else
- OPTIONS="-f $CFGFILE -P $PIDFILE -m $MEMORY -M $PKG_MEMORY"
+ OPTIONS="-f $CFGFILE -P $PIDFILE -m $SHM_MEMORY -M $PKG_MEMORY"
SSDOPTS="--chuid $USER:$GROUP"
fi
diff --git a/pkg/kamailio/deb/squeeze/kamailio.init
b/pkg/kamailio/deb/squeeze/kamailio.init
index 4c9a4a5..6bbb2f7 100644
--- a/pkg/kamailio/deb/squeeze/kamailio.init
+++ b/pkg/kamailio/deb/squeeze/kamailio.init
@@ -138,7 +138,7 @@ if [ "$SSD_SUID" != "yes" ]; then
OPTIONS="-f $CFGFILE -P $PIDFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g
$GROUP"
SSDOPTS=""
else
- OPTIONS="-f $CFGFILE -P $PIDFILE -m $MEMORY -M $PKG_MEMORY"
+ OPTIONS="-f $CFGFILE -P $PIDFILE -m $SHM_MEMORY -M $PKG_MEMORY"
SSDOPTS="--chuid $USER:$GROUP"
fi