Deutsch English Français Italiano |
<v5dm63$1dttg$4@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feed.opticnetworks.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.os.linux.advocacy Subject: Re: =?UTF-8?B?U3lzdMOobWU=?= D Date: Tue, 25 Jun 2024 05:56:19 -0000 (UTC) Organization: A noiseless patient Spider Lines: 9 Message-ID: <v5dm63$1dttg$4@dont-email.me> References: <v07d66$1e8u1$1@dont-email.me> <v08k00$1mk96$3@dont-email.me> <v08lbg$1n00b$1@dont-email.me> <6627ecd2$0$3711206$882e4bbb@reader.netnews.com> <v09ano$1s2pn$4@dont-email.me> <v2ch8m$3ala3$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 25 Jun 2024 07:56:19 +0200 (CEST) Injection-Info: dont-email.me; posting-host="250b38e1e4730787d8a829a06e323428"; logging-data="1505200"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1p9Q4lh6D0WxtlH5nkgyV" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:XoIbyCdVbZRx45LdQ81rcpO/I1A= Bytes: 1563 On Sun, 19 May 2024 09:37:28 -0000 (UTC), Sebastian wrote: > One thing you can't do with Systemd is write a simple shell script that > runs when the system finishes booting, without having to learn any of > the ins and outs of Systemd. Sure you can. Just have a “WantedBy” dependency in your service definition on whichever target represents the state you want the script to run in, e.g. “multi-user.target” for normal system operation.