On Tue, Feb 17, 2015 at 2:15 PM, Per Jessen <per@computer.org> wrote:
I'd still like to know if/where/when the instance id is being substituted or not?
I do not think there is exhaustive list. I believe most "obvious" places where you'd expect it to work do work. You are better off asking on systemd list.
Also, when to use %i vs. %I ? I'm trying to use a postfix instance called "per-jessen" - with this, in the service unit I get:
%i = per-jessen %I = per/jessen %f = /per/jessen
According to the man page, %I is the unescaped value??
Systemd replaces (escapes) "/" with "-". Difference between %I and %f matters mostly for mount units - systemd skips leading "/" so name for mount unit for /tmp is tmp.mount. %I would give you back "tmp" and %f - /tmp. In general you should use %I or %f and escape instantiated name appropriately. Not sure if 13.2 already has it, upstream now offers systemd-escape helper to do it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org