[systemd-devel] transforming Iptables bash script to systemd service file -help

Alexandre Detiste alexandre.detiste at gmail.com
Thu Oct 23 00:17:10 PDT 2014


>2014-10-22 13:37 GMT+02:00 Simon McVittie <simon.mcvittie at 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


More information about the systemd-devel mailing list