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?

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to