Sujet : Re: Distros specifically designed for children
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.miscDate : 31. May 2025, 22:48:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <101ftfg$1feqh$3@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Pan/0.162 (Pokrosvk)
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.