supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Sertonix" <>
To: <>
Subject: s6-rc: dependencies across scandirs
Date: Tue, 02 Jan 2024 15:34:29 +0000	[thread overview]
Message-ID: <> (raw)

Hi, I would like to have some kind of dependency handling across
multiple scandirs.

For example an instanced service that starts and waits for a dependency
before the first instace has been started.

I think s6-svc -WU -u could do that to some extend. There would be
problems though if the dependency is forced down.

A more complicated variation I would like to have is a user service
depending on a system service (and starting it!). For example a user
service for sway depends on the system service for seatd.

I think this would't work with s6-svc at all. This could probably be
done with some ipc client/server similar to s6-sudo.

Is there any simple and safe way to do something like this?

             reply	other threads:[~2024-01-02 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-02 15:34 Sertonix [this message]
2024-01-03 12:35 ` Laurent Bercot

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* 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).