On Thu, 23.10.14 09:17, Alexandre Detiste (alexandre.deti...@gmail.com) wrote:

> >2014-10-22 13:37 GMT+02:00 Simon McVittie <simon.mcvit...@collabora.co.uk>:
> > all it would need is for systemd to support StandardInput=/a/file/path
> 
> That feature would be nice.
> I have a direct use for this.
> Doing '/bin/echo -e line1\\nline2\\nline3 | command' is ugly.
> 
> https://github.com/systemd-cron/systemd-cron/blob/master/src/bin/systemd-crontab-generator#L229
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html

People have also requested StandardOutput=/some/file. That's something
though I really don't want to support, since it leaves the question of
rotation open.

I guess I'd be willing to merge a patch that adds this for
StandardInput= however. It appears OK to me.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to