From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacek Konieczny Subject: Re: [PATCH] systemd: add support initial systemd service files Date: Thu, 13 Mar 2014 09:03:36 +0100 Message-ID: <53216658.4050605@jajcus.net> References: <1394582593-8910-1-git-send-email-mcgrof@do-not-panic.com> <532017DC.1000208@jajcus.net> <532023BF.4020807@jajcus.net> <1394623372.21145.36.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WO0c8-0005Iv-JO for xen-devel@lists.xenproject.org; Thu, 13 Mar 2014 08:03:40 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Luis R. Rodriguez" , M A Young Cc: xen-devel@lists.xenproject.org, =?UTF-8?B?SmFuIFLEmWtvcmFqc2tp?= , Ian Jackson , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 03/13/14 01:06, Luis R. Rodriguez wrote: > On Wed, Mar 12, 2014 at 5:01 PM, M A Young 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. Greets, Jacek