[Groonga-commit] droonga/droonga-engine at b9287e9 [master] Align

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Sep 25 17:04:30 JST 2014


YUKI Hiroshi	2014-09-25 17:04:30 +0900 (Thu, 25 Sep 2014)

  New Revision: b9287e9e34dacf565c479786a498f78a83252bd2
  https://github.com/droonga/droonga-engine/commit/b9287e9e34dacf565c479786a498f78a83252bd2

  Message:
    Align

  Modified files:
    install/centos/droonga-engine

  Modified: install/centos/droonga-engine (+24 -24)
===================================================================
--- install/centos/droonga-engine    2014-09-25 17:02:23 +0900 (064ae02)
+++ install/centos/droonga-engine    2014-09-25 17:04:30 +0900 (d2b3377)
@@ -1,8 +1,8 @@
 #!/bin/bash
 #
-#	/etc/rc.d/init.d/droonga-engine
+#  /etc/rc.d/init.d/droonga-engine
 #
-#	<Droonga engine is a core component in Droonga system>
+#  <Droonga engine is a core component in Droonga system>
 # chkconfig: 2345 20 80
 
 # TODO: we have to migrate to systemd based management in near future...
@@ -22,38 +22,38 @@ DAEMON_ARGS="--daemon --pid-file=$PIDFILE"
 [ -x $DAEMON ] || exit 0
 
 start() {
-	echo -n "Starting $NAME: "
+  echo -n "Starting $NAME: "
   daemon --user $USER --pidfile $PIDFILE $DAEMON $DAEMON_ARGS
   RET_CODE=$?
   touch /var/lock/subsys/$NAME
-	return $RET_CODE
+  return $RET_CODE
 }
 
 stop() {
-	echo -n "Shutting down $NAME: "
-	killproc -p $PIDFILE $DAEMON
+  echo -n "Shutting down $NAME: "
+  killproc -p $PIDFILE $DAEMON
   RET_CODE=$?
   rm -f /var/lock/subsys/$NAME
-	return $RET_CODE
+  return $RET_CODE
 }
 
 case "$1" in
-    start)
-	start
-	;;
-    stop)
-	stop
-	;;
-    status)
-  status $NAME
-	;;
-    restart)
-    	stop
-	start
-	;;
-    *)
-	echo "Usage: $NAME {start|stop|status|reload|restart[|probe]"
-	exit 1
-	;;
+  start)
+    start
+    ;;
+  stop)
+    stop
+    ;;
+  status)
+    status $NAME
+    ;;
+  restart)
+    stop
+    start
+    ;;
+  *)
+    echo "Usage: $NAME {start|stop|status|reload|restart[|probe]"
+    exit 1
+    ;;
 esac
 exit $?
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index