| Deutsch English Français Italiano |
|
<101e19m$ucpf$2@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 04:41:27 -0000 (UTC) Organization: A noiseless patient Spider Lines: 24 Message-ID: <101e19m$ucpf$2@dont-email.me> References: <m96s6gFrc9cU1@mid.individual.net> <6831b9a7$0$8595$426a74cc@news.free.fr> <slrn1035np2.84f.rotflol2@geidiprime.bvh> <6832fab9$0$11442$426a74cc@news.free.fr> <10102st$1j2ov$1@dont-email.me> <slrn1038j7q.6c4.rotflol2@geidiprime.bvh> <10131ao$28rgm$1@dont-email.me> <slrn103b9mg.9o3.rotflol2@geidiprime.bvh> <opycnZUOkfVAF6v1nZ2dnZfqn_ednZ2d@giganews.com> <1016dr6$1e7od$1@news1.tnib.de> <1016gih$355q7$6@dont-email.me> <slrn103dv2r.q9d.rotflol2@geidiprime.bvh> <1017d93$3aupc$2@dont-email.me> <1017efm$3b95f$1@dont-email.me> <1017o1h$39umi$1@dont-email.me> <1017rcg$3e1i6$1@dont-email.me> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 31 May 2025 06:41:27 +0200 (CEST) Injection-Info: dont-email.me; posting-host="c1ebe80252c8469a8f0c9aca88d01acb"; logging-data="996143"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19uwStQUvAdSy5lNYzjrZRS" User-Agent: Pan/0.162 (Pokrosvk) Cancel-Lock: sha1:fyEG5tOsedKHU+FsOt3Q21GXXOk= On 31 May 2025 12:46:44 +1000, Computer Nerd Kev wrote: > Heh, yeah but you can see exactly what the sysvinit scripts are > doing. Not really. What’s the first step to writing a new sysvinit script? Copy/paste a whole bunch of boilerplate from an existing script. Why? “Just in case” ... > I tried to write a Systemd service and ran into all the weird > commands and different edits you had to make. I’ve done several of those. Here’s an example (not one of mine) <https://web.archive.org/web/20240711140744/https://list.waikato.ac.nz/archives/list/wlug@list.waikato.ac.nz/thread/BIAW7GY4KGPUGWIIRWNMBE5JSUVT2VWX/> which is instructive because of its simplicity: it shows how systemd can really make things easier to express than sysvinit. Personally, all the ones I’ve done have been quite small -- less than a dozen lines each. And each line was put in because it had a purpose that I understood. The one pitfall I did encounter was the difference between “After=” and “Requires=” lines: one specifies timing, the other specifies dependency, and if you want both, you need to specify both. ;)