Am 13.01.2016 um 16:51 schrieb Steve Dickson:
Is is possible to set a variable in the [Unit]
section of a service?
For example in rpc-gssd.service there is
ConditionPathExists=/etc/krb5.keytab
but for some installation the krb5.keytab
is in a different place. The rpc.gssd daemon
can be told this by setting a command line
argument from the EnvironmentFile.
So people have to edit both the EnvironmentFile
and the rpc-gssd.service to make this change.
So it would be nice if only the EnvironmentFile
need to be edit and the change would happen
in both places.
Possible?
sadly no, i would even have usescases to start ExecStart with var from an EnvironmentFile but see the latest discussion about EnvironmentFile and you can guess how much support you can expect...
http://permalink.gmane.org/gmane.comp.sysutils.systemd.devel/35157 https://www.mail-archive.com/[email protected]/msg34887.html
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
