Bug#806291: systemd: systemctl status ignores -n argument

Michael Biebl biebl at debian.org
Thu Nov 26 15:32:43 GMT 2015


Am 26.11.2015 um 15:59 schrieb Michael Biebl:
> Works here. But I actually need a service which produces more then 10
> lines of output when started.

To illustrate what I did:

# cat /etc/systemd/system/output.service
[Unit]
Description=foo
[Service]
Type=oneshot
ExecStart=/bin/sh -c "for i in `seq 1 200`; do echo $i; done"


# systemctl start output.service
# systemct status -n 100
log message 102-200
Nov 26 16:28:27 pluto systemd[1]: Started foo.


Regards,
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: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151126/82256c90/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list