Sujet : Re: systemd controversy
De : kc-usenet (at) *nospam* chadwicks.me.uk (Kevin Chadwick)
Groupes : comp.lang.adaDate : 20. Mar 2024, 02:58:30
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <utdcbm$14f4r$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : PhoNews/3.13.3 (Android/13)
Scripts need an interpreter. Being Turing-complete, in general information
cannot be extracted from them except by running them. Unit files have a fixed vocabulary of keyword entries, which can be easily enumerated, looked up, whatever. That’s what’s meant by “declarative”.
Sorry but that is nonsense. The code behind those unit files is a lot of
disparate C.
In my experience init scripts are made entirely of simple commands that are
documented and editable, piece by piece.
https://cvsweb.openbsd.org/src/etc/rc?rev=1.572&content-type=text/x-cvsweb-markup-- Regards, Kc