On Tue, Jun 25, 2013 at 09:09:42AM -0400, Stephen Gallagher wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/25/2013 05:40 AM, Pavel Březina wrote:
> On 06/24/2013 03:37 PM, Jakub Hrozek wrote:
>> On Mon, Jun 24, 2013 at 03:34:19PM +0200, Pavel Březina wrote:
>>>
https://fedorahosted.org/sssd/ticket/1959
>>>
>>> Is there anyway how to achieve this in systemd?
>>
>> Yes, see EnvironmentFile
>>
>>> Do we want the path configurable?
>>
>> Yes, we do.
>
> Thanks, new patch is attached.
>
Looks correct to me. Pavel informed me off-list that the "-" in the
unit file indicates "use it if it exists".
Ack.
I tested both sysv and init script (just the default configure value,
though) and they seem to be working fine:
# cat /etc/sysconfig/sssd
FOO=BAR
# cat /proc/$(pidof sssd)/environ
BOOT_IMAGE=/vmlinuz-3.9.5-301.fc19.x86_64SYSFONT=TrueKEYTABLE=usLANG=en_US.UTF-8PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/binFOO=BAR