Hello! 2012/5/26 Joachim <[email protected]>: > It doesnt work because redirects are a shell feature and systemd starts > programs without the help of a shell. So this line > > ExecStart=/bin/echo 2 > /tmp/test.txt > > would need to be transformed into > > ExecStart=/bin/bash -c 'echo 2 > /tmp/test.txt' > > untested, but should work.
Thanks - this indeed works. I just tested it. -- With best regards, Peter Lemenkov. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
