On Mon, 11.07.11 13:43, Steve Dickson (ste...@redhat.com) wrote:

> > the variable evaluates to the empty string, not 0, so the sysctl
> invocation fails. I don't think unit files support advanced bash
> syntax like ${LOCKD_TCPPORT:-0} ...
>
> that would be nice... But defining it to zero is no biggie...

You can use Environment= in unit files to set defaults, which are then
overriden by EnvironmentFile=.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to