Bug#896944: service: this wrapper script should pass additional options to systemctl(8) when using systemd

Michael Biebl biebl at debian.org
Thu Apr 26 10:12:33 BST 2018


Hi

On Thu, 26 Apr 2018 16:26:03 +0800 WHR <msl0000023508 at gmail.com> wrote:
> Package: init-system-helpers
> Version: 1.48
> Severity: wishlist
> Tags: patch
> 
> The service(8) script should pass additional options, if any after '${ACTION}', to systemctl(8).

..

> The systemctl(8) has hinted an option '-l' to show those long lines; but when
> I trying 'service rsyslog status -l', the output shows no different.
> 
> 
> I wrote a small patch to support those options.

I'm uncertain about this. If you want all features of systemd/systemctl,
I think you should use systemctl directly.
service is more of wrapper which hides the differences between
alternative init systems (sysv, systemd, openrc) and is sort of the
least common denominator.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180426/7427e828/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list