[Slashdotjp-dev 936] [455] Exit init.d script when slashd daemon does not exist

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 1月 23日 (水) 03:42:35 JST


Revision: 455
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=455
Author:   tach
Date:     2008-01-23 03:42:34 +0900 (Wed, 23 Jan 2008)

Log Message:
-----------
Exit init.d script when slashd daemon does not exist

Modified Paths:
--------------
    slashjp/trunk/debian/changelog
    slashjp/trunk/debian/slash-backend.init.d


-------------- next part --------------
Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2008-01-22 11:50:18 UTC (rev 454)
+++ slashjp/trunk/debian/changelog	2008-01-22 18:42:34 UTC (rev 455)
@@ -1,3 +1,9 @@
+slash (2.5.0.189-3) unstable; urgency=low
+
+  * Exit init.d script when slashd daemon does not exist
+
+ -- Taku YASUI <tach****@debia*****>  Wed, 23 Jan 2008 03:41:20 +0900
+
 slash (2.5.0.189-2) unstable; urgency=low
 
   * Add logcheck ignore rules

Modified: slashjp/trunk/debian/slash-backend.init.d
===================================================================
--- slashjp/trunk/debian/slash-backend.init.d	2008-01-22 11:50:18 UTC (rev 454)
+++ slashjp/trunk/debian/slash-backend.init.d	2008-01-22 18:42:34 UTC (rev 455)
@@ -21,6 +21,8 @@
 SLASHSITE="$DATADIR/slash.sites";
 NICE=10
 
+test -x $SLASHD || exit 0
+
 # To figure out where things are...
 TZ="GMT";
 export TZ;


Slashdotjp-dev メーリングリストの案内
Back to archive index