]> git.pld-linux.org Git - packages/flumotion.git/commitdiff
- more PLD-like
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 15 Jul 2008 18:33:21 +0000 (18:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    flumotion.init -> 1.2

flumotion.init

index 25b66667aaf22acb41610f09e2b849bc504b55ee..319e0c0dbcdd3806fedb0caff519b145f5cd3734 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # Startup script for the Flumotion streaming server
 #
@@ -22,7 +22,7 @@ sysconfig=/etc/sysconfig/flumotion
 
 # source configuration 
 if [ -f $sysconfig ] ; then
-        . $sysconfig
+       . $sysconfig
 fi
 
 # to make sure our service log file is always owned by the correct user,
@@ -66,7 +66,7 @@ startone() {
 
        if test "x$name" == "x"
        then
-               echo $"Please specify a $type name"
+               nls "Please specify a $type name"
                exit 1
        fi
 
@@ -101,7 +101,7 @@ stopone() {
 
        if test "x$name" == "x"
        then
-               echo $"Please specify a $type name"
+               nls "Please specify a $type name"
                exit 1
        fi
 
@@ -118,7 +118,6 @@ stopone() {
        return $RETVAL
 }
 
-
 condrestart() {
        if test "x$*" != "x"
        then
@@ -143,7 +142,7 @@ condrestartone() {
 
        if test "x$name" == "x"
        then
-               echo $"Please specify a $type name"
+               nls "Please specify a $type name"
                exit 1
        fi
 
@@ -172,7 +171,7 @@ statusone() {
 
        if test "x$name" == "x"
        then
-               echo $"Please specify a $type name"
+               nls "Please specify a $type name"
                exit 1
        fi
 
@@ -210,7 +209,7 @@ case "$1" in
        stop $*
        start $*
        ;;
-  condrestart)
+  try-restart|force-reload)
        shift
        condrestart $*
        ;;
@@ -225,7 +224,7 @@ case "$1" in
         list
        ;;
   *)
-       echo $"Usage: $service {start|stop|restart|list|status|clean}"
+       echo $"Usage: $service {start|stop|restart|try-restart|force-reload|list|status|clean}"
        exit 1
 esac
 
This page took 0.073849 seconds and 4 git commands to generate.