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

2015-01-23 Thread Matthias Urlichs
Hi, Dimitri John Ledkov: > >> foo.service.d/bar.conf sets an option like Service/ExecStartPre that > >> can be specified multiple times. > > 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

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

2015-01-23 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 23, 2015 at 03:12:11PM +0100, Lennart Poettering wrote: > On Fri, 23.01.15 14:57, Christian Seiler (christ...@iwakd.de) wrote: > > > Am 2015-01-23 14:27, schrieb Lennart Poettering: > > >>Yes, it does, although only in the general systemd.unit(5), not in the > > >>specific options, so

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

2015-01-23 Thread Dimitri John Ledkov
On 23 January 2015 at 11:21, Matthias Urlichs 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 >> fi

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

2015-01-23 Thread Lennart Poettering
On Fri, 23.01.15 14:57, Christian Seiler (christ...@iwakd.de) wrote: > Am 2015-01-23 14:27, schrieb Lennart Poettering: > >>Yes, it does, although only in the general systemd.unit(5), not in the > >>specific options, so maybe it's not that easy to find. > > > >Actually, it kinda says it in the spe

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

2015-01-23 Thread Christian Seiler
Am 2015-01-23 14:27, schrieb Lennart Poettering: Yes, it does, although only in the general systemd.unit(5), not in the specific options, so maybe it's not that easy to find. Actually, it kinda says it in the specific options. From the explanation of ExecStart=: "...If the empty string is ass

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

2015-01-23 Thread Lennart Poettering
On Fri, 23.01.15 14:15, Christian Seiler (christ...@iwakd.de) wrote: > Am 2015-01-23 12:21, schrieb Matthias Urlichs: > >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 specifi

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

2015-01-23 Thread Christian Seiler
Am 2015-01-23 12:21, schrieb Matthias Urlichs: 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 va

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

2015-01-23 Thread Matthias Urlichs
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

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

2015-01-23 Thread 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