]> git.ipfire.org Git - thirdparty/systemd.git/commit
man: soft deprecate use of ";" for separating multiple command lines in ExecStart=
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Oct 2024 10:12:52 +0000 (12:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Oct 2024 08:57:25 +0000 (10:57 +0200)
commit225f18b9a9d39331ea862478ab2ff893678e249d
tree4d7e40b675f48b28ec06f1fed8569e1696355880
parentbd4beaa2ebfbbec0a1263a7091a91e528ce8cf13
man: soft deprecate use of ";" for separating multiple command lines in ExecStart=

So far we supported this syntax:

    ExecStart=foo ; bar

as equivalent to:

    ExecStart=foo
    ExecStart=bar

With this change we'll "soft" deprecate the first syntax. i.e. it's
still supported in code, but not documented anymore.

The concept was originally added to make things easier for 3rd party
.ini readers, as it allowed writing unit files with a .ini framework
that doesn't allow multiple assignments for the same key. But frankly,
this is kinda pointless, as so many other of our knobs require the
double assignment.

Hence, let's just stop advertising the concept, let's simplify the docs,
by removing one entirely redundant feature from it.

Replaces: #34570
man/systemd.service.xml
src/core/load-fragment.c