[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#172630: debian-policy: Clarification on /etc/init.d/foo restart behaviour.



Package: debian-policy
Version: 3.5.8.0
Severity: wishlist
Tags: patch

Here a patch that clarify the behavior of /etc/init.d/foo restart.

This is taken straight out of 
LSB 1.2 / Chapter 22. / System Initialization / Init Script Actions

--- policy.sgml	2002-11-15 07:49:40.000000000 +0100
+++ policy.sgml.new	2002-12-11 13:26:53.000000000 +0100
@@ -4575,7 +4575,7 @@
 	      <item><p>stop the service,</p></item>
 
 	      <tag><tt>restart</tt></tag>
-	      <item><p>stop and restart the service,</p></item>
+	      <item><p>stop and restart the service if the service is already running, otherwise start the service,</p></item>
 
 	      <tag><tt>reload</tt></tag>
 	      <item><p>cause the configuration of the service to be


Whether is it a policy proposal or a clarification of the existant policy
is beyond me to decide. However this is needed for LSB compliance. 

Cheers,
Bill.

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux yellowpig 2.2.19 #1 Tue Apr 24 20:02:21 CEST 2001 i686
Locale: LANG=french, LC_CTYPE=french

-- 
Bill. <ballombe@debian.org>

Ad Majorem Debian Gloriam



Reply to: