Deutsch   English   Français   Italiano  
<86o82mow60.wl-pierreghz@legtux.org>

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

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader02.eternal-september.org!vorpuni.dont-email.me!.POSTED!not-for-mail
From: Pierre Ghazarian <pierreghz@legtux.org>
Newsgroups: fr.comp.usenet.serveurs
Subject: Re: [systemd] hack pour nntps
Date: Fri, 04 Mar 2022 11:21:27 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <86o82mow60.wl-pierreghz@legtux.org>
References: <svsnp0$9r5$1@rasp.pasdenom.info>
Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: vorpuni.dont-email.me; posting-host="7daa3a8af9b28b7ce86606e111dccd49";
	logging-data="22800"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18vqVLZr/kyKyRiADXvDyig"
User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue)
 FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 Emacs/27
 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
Cancel-Lock: sha1:r71TWBdbAwErYZGbuQYLnpKGGG8=
In-Reply-To: <svsnp0$9r5$1@rasp.pasdenom.info>
Bytes: 2014

Bonjour,

avec systemd il y a moyen de lui indiquer avec un @ dans le nom du
fichier .service qu=E2=80=99on veut avoir une substitution et ainsi avoir
plusieurs fichiers .unit pour cr=C3=A9er des instances.

Un post explique ici un exemple avec Apache, =C3=A7a doit =C3=AAtre tr=C3=
=A8s
similaire pour nnrpd=E2=80=AF:
https://opensource.com/article/20/12/multiple-service-instances-systemctl

La documentation officielle le mentionne =C3=A9galement sans donner
d=E2=80=99exemples aussi simples=E2=80=AF:

systemd.service(5)
https://www.freedesktop.org/software/systemd/man/systemd.service.html

systemd.slice(5)
https://www.freedesktop.org/software/systemd/man/systemd.slice.html

systemd.unit(5)
https://www.freedesktop.org/software/systemd/man/systemd.unit.html

Bonne journ=C3=A9e,
--
P