]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.service.xml
man: let's tone down the recommendation to use Type=exec a bit
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Aug 2023 16:23:09 +0000 (18:23 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 10 Aug 2023 12:41:14 +0000 (14:41 +0200)
commite5e900edcd3b245499379201072cbb69346e9798
tree5e1ffc097078e702112c3f97bd578bfb0dca726c
parent3a78b0e9c4ccf050fe2dd8c8fdfda9f3961a93a4
man: let's tone down the recommendation to use Type=exec a bit

This is a follow-up for #28596.

I think the suggestion to use Type=exec uses too strong wording:
Type=exec has non-trivial drawbacks over Type=simple, and they deserve
to be mentioned.

Hence drop the <emphasis> and turn this around so that Type=exec is
*recommended*, but Type=simple is not expressly discouraged, because
there are plenty reasons to use it.

Add a brief discussion where Type=simple might be preferable.

Also, fix the outright unruth that Type=exec was the "simplest and
fastest", because it certainly is a lot, but not that.
man/systemd.service.xml