From: Paul Sopka <psopka@sopka.ch>
To: Laurent Bercot <ska-supervision@skarnet.org>,
"supervision@list.skarnet.org" <supervision@list.skarnet.org>
Subject: Re: s6-rc: oneshot services do not get their name as arg 1
Date: Sun, 3 Nov 2024 23:16:56 +0100 [thread overview]
Message-ID: <ee137166-cc5f-4d3c-87ea-fb32ac5d8fd1@sopka.ch> (raw)
In-Reply-To: <em44cd76a5-e26d-4bb2-930e-962d435a389f@29a541ad.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 587 bytes --]
Thank you for the quick reply!
> There would be no benefit to doing that, because oneshots do not have
> instances, so any up or down script knows exactly what service it is
> starting or stopping.
I could think of one benefit:
Symlinking the oneshot service directory with other names,
e.g. having a oneshot script for setting up the network
and symlinking it for different interfaces, so that a change
does not have to be made in all the copied scripts
(of course its unlikely to have enough interfaces
to justify this, but it conveys the idea).
Regards
Paul
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3195 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2024-11-03 22:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-03 21:46 Paul Sopka
2024-11-03 21:57 ` Laurent Bercot
2024-11-03 22:16 ` Paul Sopka [this message]
2024-11-04 0:17 ` Re[2]: " Laurent Bercot
2024-11-04 7:18 ` Paul Sopka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ee137166-cc5f-4d3c-87ea-fb32ac5d8fd1@sopka.ch \
--to=psopka@sopka.ch \
--cc=ska-supervision@skarnet.org \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).