Deutsch   English   Français   Italiano  
<101ftfg$1feqh$3@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: Distros specifically designed for children
Date: Sat, 31 May 2025 21:48:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <101ftfg$1feqh$3@dont-email.me>
References: <10181qd$3er4t$1@dont-email.me> <1018iiq$3lujt$4@dont-email.me>
	<1018k1q$3hked$1@dont-email.me> <1018nhd$3mqbn$2@dont-email.me>
	<101a06j$3tf0k$4@dont-email.me> <m9roldF8ss8U4@mid.individual.net>
	<101bqup$d3l6$5@dont-email.me> <101dbhc$mkpm$9@dont-email.me>
	<683a6d94@news.ausics.net> <y2CdnZgCTckT6Kf1nZ2dnZfqn_QAAAAA@giganews.com>
	<101e3v6$1vf2s$1@news1.tnib.de> <101e8e8$104ce$1@dont-email.me>
	<101e9a2$1vqpl$1@news1.tnib.de> <101edbi$112mr$1@dont-email.me>
	<101efq7$20bd5$1@news1.tnib.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 31 May 2025 23:48:33 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c1ebe80252c8469a8f0c9aca88d01acb";
	logging-data="1555281"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+pLH4WK+HXpBgK/ua1iwEC"
User-Agent: Pan/0.162 (Pokrosvk)
Cancel-Lock: sha1:qePJ5TCN+EXDGpzAyReuij67ytI=

On Sat, 31 May 2025 10:49:11 +0200, Marc Haber wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>
>> If you want multiple commands to be run, you can have multiple
>> ExecStartPre lines.
> 
> And if I need conditionals or loops I need /bin/sh -c

You want custom logic? Put the logic in your own scripts/programs.

By definition pretty much, this is not going to be a common need. Most of 
the usual things you want to test for should already be handled by 
existing systemd directives. Look at the wide range of Conditionxxx= and 
Assertxxx= directives, for a start.