Red Hat Bugzilla – Bug 698755
RFE: EnvironmentFile= is missing support for specifiers
Last modified: 2011-07-14 08:44:59 EDT
Description of problem:
Using for example
EnvironmentFile=/etc/sysconfig/service-%i <-- Does not work
Template services cant use their own environment files
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create an service that uses an service template with the above mention EnvironmentFile=/path/to/file-%i
systemd: Failed to load environment files: No such file or directory
Having the ablity to allow each template service having it's own corresponding environment file
We are unable to port 389 Directory server to a native systemd ones until this get fixed since each service instance needs to have it's own configurable environmentfile
This is fixed in systemd git btw.
And fixed in Rawhide now too.