<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Please add an option to use a shell to ExecStart"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90283">bug 90283</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Please add an option to use a shell to ExecStart"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90283#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Please add an option to use a shell to ExecStart"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90283">bug 90283</a>
from <span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>