[systemd-bugs] [Bug 90283] Please add an option to use a shell to ExecStart
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun May 3 07:28:32 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90283
Lennart Poettering <lennart at poettering.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #1 from Lennart Poettering <lennart at poettering.net> ---
I am firmly against this. The idea with systemd units is really *not* to be
turing complete programs, but purely declarative, hence integrating shell
expressions natively is really against their whole idea. I know that Upstart
allowed integrated things with shell, but it's a design decision of systemd not
to do this.
That said, you can already do what you want, by encoding shell programs in the
/bin/sh -c command lines:
ExecStart=/bin/sh -c "...."
Sorry, but I am strongly against adding more support for shell than this.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150503/0e7e2370/attachment.html>
More information about the systemd-bugs
mailing list