[systemd-devel] Service name accessible in a unit file?

Honza Horak hhorak at redhat.com
Tue Jul 26 00:53:44 PDT 2011


On 07/26/2011 09:28 AM, Honza Horak wrote:
> If I'd like to create the same behavior in systemd, e.g.:
>
> EnvironmentFile=/etc/${thisname}
>
> Is it possible?

I found the answer myself, sorry for noise. We can get this by %p, %n, 
etc., more info in
http://0pointer.de/public/systemd-man/systemd.unit.html

Honza


More information about the systemd-devel mailing list