[sr-dev] git:3.1: deb pkg: add start suggestions for mysql, postgresql and radius, suggested from Rick Aldred

Henning Westerholt henning.westerholt at 1und1.de
Wed Jun 1 14:38:38 CEST 2011


Module: sip-router
Branch: 3.1
Commit: d8c08a50fd1366ddd10ee079a4594cba6684236e
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d8c08a50fd1366ddd10ee079a4594cba6684236e

Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date:   Mon May 30 14:17:32 2011 +0200

deb pkg: add start suggestions for mysql, postgresql and radius, suggested from Rick Aldred
(cherry picked from commit 33f7e045768298e8e48231820fb0116398d80c2f)

---

 pkg/kamailio/deb/lenny/kamailio.init   |    7 ++-----
 pkg/kamailio/deb/lucid/kamailio.init   |    7 ++-----
 pkg/kamailio/deb/squeeze/kamailio.init |    7 ++-----
 3 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/pkg/kamailio/deb/lenny/kamailio.init b/pkg/kamailio/deb/lenny/kamailio.init
index e5f50fc..ab54d0c 100644
--- a/pkg/kamailio/deb/lenny/kamailio.init
+++ b/pkg/kamailio/deb/lenny/kamailio.init
@@ -4,16 +4,13 @@
 # Provides:          kamailio
 # Required-Start:    $syslog $network $local_fs $time
 # Required-Stop:     $syslog $network $local_fs
+# Should-Start:      mysql postgresql freeradius
+# Should-Stop:       mysql postgresql freeradius
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Start the Kamailio SIP proxy server
 # Description:       Start the Kamailio SIP proxy server
 ### END INIT INFO
-#
-# TODO:
-# The following fields should be added (and completed):
-# Should-Start:      postgresql mysql radius
-# Should-Stop:       postgresql mysql radius
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/sbin/kamailio
diff --git a/pkg/kamailio/deb/lucid/kamailio.init b/pkg/kamailio/deb/lucid/kamailio.init
index e5f50fc..ab54d0c 100644
--- a/pkg/kamailio/deb/lucid/kamailio.init
+++ b/pkg/kamailio/deb/lucid/kamailio.init
@@ -4,16 +4,13 @@
 # Provides:          kamailio
 # Required-Start:    $syslog $network $local_fs $time
 # Required-Stop:     $syslog $network $local_fs
+# Should-Start:      mysql postgresql freeradius
+# Should-Stop:       mysql postgresql freeradius
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Start the Kamailio SIP proxy server
 # Description:       Start the Kamailio SIP proxy server
 ### END INIT INFO
-#
-# TODO:
-# The following fields should be added (and completed):
-# Should-Start:      postgresql mysql radius
-# Should-Stop:       postgresql mysql radius
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/sbin/kamailio
diff --git a/pkg/kamailio/deb/squeeze/kamailio.init b/pkg/kamailio/deb/squeeze/kamailio.init
index e5f50fc..ab54d0c 100644
--- a/pkg/kamailio/deb/squeeze/kamailio.init
+++ b/pkg/kamailio/deb/squeeze/kamailio.init
@@ -4,16 +4,13 @@
 # Provides:          kamailio
 # Required-Start:    $syslog $network $local_fs $time
 # Required-Stop:     $syslog $network $local_fs
+# Should-Start:      mysql postgresql freeradius
+# Should-Stop:       mysql postgresql freeradius
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Start the Kamailio SIP proxy server
 # Description:       Start the Kamailio SIP proxy server
 ### END INIT INFO
-#
-# TODO:
-# The following fields should be added (and completed):
-# Should-Start:      postgresql mysql radius
-# Should-Stop:       postgresql mysql radius
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/sbin/kamailio




More information about the sr-dev mailing list