On Tue, Feb 17, 2015 at 1:08 PM, Per Jessen <per@computer.org> wrote:
I am creating a postfix service unit with support for multiple instances.
I tried adding this:
ExecStartPre=/etc/%i/system/config_postfix ExecStartPre=/etc/%i/system/update_chroot ExecStartPre=/etc/%i/system/update_postmaps
which doesn't seem to work. I guess there's no instance id substitution in the name of the executable, only in the arguments? It isn't really clear from the man page.
Current upstream systemd.service(5) says The command line accepts "%" specifiers as described in systemd.unit(5). Note that the first argument of the command line (i.e. the program to execute) may not include specifiers. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org