[systemd-devel] Supporting ExecStartPre= and friends in `systemctl set-property` or `systemd-run -p`
Ivan Shapovalov
intelfx100 at gmail.com
Mon Mar 23 07:49:40 PDT 2015
On 2015-03-23 at 13:45 +0000, Zbigniew Jędrzejewski-Szmek wrote:
> On Mon, Mar 23, 2015 at 04:04:28PM +0300, Ivan Shapovalov wrote:
> > Hello,
> >
> > is it possible/allowed/desired to support assigning ExecStartPre= and
> > similar options via dbus interface, i. e. in `systemctl set-property` or
> > `systemd-run -p`?
> >
> > I'm hitting a usecase when I need to run a service with multiple
> > executed processes via `systemd-run`. I think this makes sense to
> > support, isn't it?
> Sounds like creating a transient unit would be better.
That is, ..?
How can I create a unit that will be removed as soon as it's stopped?
There is only StartTransientUnit() on the bus, which is exactly what
`systemd-run` does, and so isn't suitable...
Cheers,
--
Ivan Shapovalov / intelfx /
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150323/bcfdf913/attachment.sig>
More information about the systemd-devel
mailing list