[systemd-devel] writing service file that used some /proc/cmdline variable

Kirill Elagin kirelagin at gmail.com
Wed May 21 15:11:33 PDT 2014


Deja vu ;).
http://lists.freedesktop.org/archives/systemd-devel/2014-May/019136.html

So, yes, wrapper seems to be the way to go.


--
Кирилл Елагин


On Wed, May 21, 2014 at 10:18 PM, Vasiliy Tolstov <v.tolstov at selfip.ru>wrote:

> 2014-05-21 21:49 GMT+04:00 Ran Benita <ran234 at gmail.com>:
> > Oops, I thought you meant a condition.  I don't know if there's a
> > a way to *use* the variables directly in the service files, but it can
> > be done easily enough with a shell-script wrapper.
>
>
> Yes, i think about wrapper, but systemd contains many useful features
> and i think that may be it already contains all that i need =)
>
> --
> Vasiliy Tolstov,
> e-mail: v.tolstov at selfip.ru
> jabber: vase at selfip.ru
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140522/826b7ca6/attachment.html>


More information about the systemd-devel mailing list