Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 10c83c05c98173e3ddbf2961c5a6d7cc > files > 1

flumotion-0.6.1-1mdv2010.0.src.rpm

diff -p -up flumotion-0.5.1/doc/redhat/flumotion.init flumotion-0.5.1/doc/redhat/flumotion
--- flumotion-0.5.1/doc/redhat/flumotion.init	2009-02-17 16:02:56.000000000 +0100
+++ flumotion-0.5.1/doc/redhat/flumotion	2009-02-17 16:03:27.000000000 +0100
@@ -4,10 +4,18 @@
 #
 # flumotion: Flumotion Streaming Server
 #
-# chkconfig: - 80 20
+# chkconfig: 35 80 20
 #
 # description: Flumotion is a streaming server for audio and video. \
 #              See http://www.fluendo.com for details.
+### BEGIN INIT INFO
+# Provides: flumotion
+# Required-Start: $network
+# Required-Stop: $network
+# Default-Start: 3 5
+# Description: Flumotion is a streaming server for audio and video.
+#              See http://www.fluendo.com for details.
+### END INIT INFO
 #
 # Source function library.
 . /etc/rc.d/init.d/functions
@@ -44,6 +52,8 @@ update_lockfile() {
 	fi
 }
 
+. /etc/sysconfig/flumotion
+
 # if arguments are specified, we only start/stop that service part
 start() {
 	if test "x$*" != "x"