Bug#656081: retitle 656081 to service: document that /usr/sbin/service disrespects policy-rc.d intentionally ...
Dmitry Bogatov
KAction at debian.org
Fri Jan 11 12:37:11 GMT 2019
control: tags -1 +patch
[2016-07-17 17:52] Michael Biebl <biebl at debian.org>
> part text/plain 144
> retitle 656081 service: document that /usr/sbin/service disrespects policy-rc.d intentionally
> reassign 656081 init-system-helpers 1.25
> thanks
What about this wording:
From 5e080c989579dc268fe985a566e3ccb3fdf1ebe3 Mon Sep 17 00:00:00 2001
From: Dmitry Bogatov <KAction at debian.org>
Date: Thu, 10 Jan 2019 16:41:00 +0000
Subject: [PATCH] Document that `service' it does not check
/usr/sbin/policy-rc.d
---
man8/service.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/man8/service.rst b/man8/service.rst
index cd90bc3..de2d65a 100644
--- a/man8/service.rst
+++ b/man8/service.rst
@@ -50,7 +50,8 @@ systemctl/initctl equivalents.
All scripts should support at least the ``start`` and ``stop`` commands.
As a special case, if *COMMAND* is ``--full-restart``, the script is run
twice, first with the ``stop`` command, then with the ``start``
-command.
+command. Note, that unlike ``update-rc.d``\(8\), ``service`` does not
+check ``/usr/sbin/policy-rc.d``.
``service --status-all`` runs all init scripts, in alphabetical order, with
the ``status`` command. The status is [ + ] for running services, [ - ] for
More information about the Pkg-systemd-maintainers
mailing list