From: Manoj Srivastava Date: Thu, 16 Jun 2005 05:36:29 +0000 (+0000) Subject: init script restart will start a service if not running (three seconds to the latest... X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=624d487b0ba68e1edc8c28b149f96e5f32b4d7f4;p=debian%2Fdebian-policy.git init script restart will start a service if not running (three seconds to the latest bug, no objections) Author: joy Date: 2003/02/15 16:15:51 init script restart will start a service if not running (three seconds to the latest bug, no objections) git-archimport-id: srivasta@debian.org--etch/debian-policy--devel--3.0--patch-177 --- diff --git a/debian/changelog b/debian/changelog index 4d0be9e..19081d2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,6 +23,8 @@ debian-policy (3.5.9.0) unstable; urgency=low through a 152-page bug log which mostly goes back-and-forth with explanations how policy should work, occasionally sprinkled with offtopic stuff, too. + * When asked to restart a service that isn't already running, the init + script should start it, closes: #60979. -- diff --git a/policy.sgml b/policy.sgml index e9684c8..e8eb2f1 100644 --- a/policy.sgml +++ b/policy.sgml @@ -4634,7 +4634,8 @@ rmdir /usr/local/share/emacs 2>/dev/null || true

stop the service,

restart -

stop and restart the service,

+

stop and restart the service if it's already + already running, otherwise start the service

reload

cause the configuration of the service to be diff --git a/upgrading-checklist.html b/upgrading-checklist.html index 23f8067..aa56254 100644 --- a/upgrading-checklist.html +++ b/upgrading-checklist.html @@ -60,6 +60,8 @@ picking your way through this list. - Clarified that if a package has non-build-essential build-dependencies, it should have them listed in the Build-Depends and related fields (i.e. it's just optional). [2.4.2] + - When asked to restart a service that isn't already running, + the init script should start the service. [10.3.2] 3.5.8.0 Nov 02