Bug#765175: systemd init script integration: status action should use --lines=0
Ansgar Burchardt
ansgar at debian.org
Mon Oct 13 20:08:45 BST 2014
Package: systemd
Version: 215-5+b1
Priority: wishlist
Hi,
as discussed with Michael Biebl on IRC this morning, please consider
changing the init script integration: the status action should pass
--lines=0 to systemctl, i.e. "/etc/init.d/${x} status" should call
"systemctl --lines=0 status ${x}".
This avoids accessing the journal which can be slow if a persistant
journal on rotating disks is used (it's very slow on my netbook). The
status action is used by service monitors and thus should always return
quickly.
Please also consider forwarding the "try-restart", "reload-or-restart"
and "reload-or-try-restart" actions to the respective systemctl
commands.
Ansgar
More information about the Pkg-systemd-maintainers
mailing list