[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] systemd: add support initial systemd service files
On 03/13/14 10:52, Ian Campbell wrote: > On Thu, 2014-03-13 at 09:03 +0100, Jacek Konieczny wrote: >> On 03/13/14 01:06, Luis R. Rodriguez wrote: >>> On Wed, Mar 12, 2014 at 5:01 PM, M A Young <m.a.young@xxxxxxxxxxxx> wrote: >>>>> But this didn't seem to work, I suppose I'm not using the variables >>>>> correctly. >>>> >>>> >>>> Systemd only provides limited variable support - you can use them for >>>> arguments but not the executables. >>> >>> Not even the path to the executables ? ie $FOO/bar >> >> No, and there are some good reasons for that. >> And if anybody really needs to change that after installation, he may >> copy the unit files from /lib/systemd/system to /etc/systemd/system and >> edit them. >> >> Other way would be to use generators to dynamically build the units, but >> I really don't thing there is a good reason for having the paths >> dynamic. > > Would it be preferable to have the Xen build system produce foo.service > from foo.service.in doing the variable substitution at build time? Yes, IMHO, that is the right way to do this. Greets, Jacek _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |