[systemd-devel] service.d/.conf files and multi-valued options

Dimitri John Ledkov dimitri.j.ledkov at intel.com
Fri Jan 23 06:13:17 PST 2015


On 23 January 2015 at 11:21, Matthias Urlichs <matthias at urlichs.de> wrote:
> Hi,
>
> Igor Bukanov:
>> It is not clear from the systemd.unit manual page what happens when
>> foo.service.d/bar.conf sets an option like Service/ExecStartPre that
>> can be specified multiple times. From experimenting I see that *.conf
>> files supply additional values to the option and to overwrite or
>> remove already given values for the option one have to copy the whole
>> file into /etc and edit it there. Is it so?
>
> Doesn't the manpage state that an empty entry clears the list?
>

A snippet:
[Unit]
Wants=

Does not remove want dependencies declared in the unit section in the
unit file under /usr.

/me continues my unwants ramblings.


-- 
Regards,

Dimitri.

Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ.


More information about the systemd-devel mailing list