Thanks Laurent for the detailed explanations. We did a bootup speed
comparison between S6 and systemd. S6 is able to boot up slightly faster
than systemd. Actual result is 4-4.5% faster but we were expecting
something near to 20%.
Ours is a bit complex setup with more than 140 services (include
Thanks Laurent for the detailed explanations. We did a bootup speed
comparison between S6 and systemd. S6 is able to boot up slightly faster
than systemd. Actual result is 4-4.5% faster but we were expecting
something near to 20%.
Ours is a bit complex setup with more than 140 services (includes a
Do you think this is any better?
=
#!/bin/sh
test_for_myrequirement || exit 1
exec mydaemon -myarg1 -myarg2
=
This does not accomplish the same thing at all: it does not ensure
that myrequirement is at least attempted before mydaemon runs
Laurent Bercot said on Mon, 02 Aug 2021 19:39:47 +
>>I thought the way to do what the OP asked is:
>>
>>=
>>#!/bin/sh
>>s6-svc -u myrequirement || exit 1
>>exec mydaemon -myarg1 -myarg2
>>=
>
> This is not a good idea in a s6-rc instal
I thought the way to do what the OP asked is:
=
#!/bin/sh
s6-svc -u myrequirement || exit 1
exec mydaemon -myarg1 -myarg2
=
This is not a good idea in a s6-rc installation, because it sends
raw s6 commands, which may mess with the service
Laurent Bercot said on Mon, 02 Aug 2021 08:27:30 +
>>2. Are there any ways to have loosely coupling dependencies? In
>>systemd, we have After=. After option will help the current service
>>to start after the mentioned service (in after). And the current
>>service will anyway start even if the
1. In systemd, the services are grouped as targets and each target depends
on another target as well. They start as targets. [ex: Reached
local-fs.target, Reached network.target, Reached UI target,...]. Is there
any way in S6 to start the init system based on bundles?
Yes, that is what bundles
Hi Team,
We are trying to migrate from systemd init system to S6. We have a few
queries, please help us on the same.
1. In systemd, the services are grouped as targets and each target depends
on another target as well. They start as targets. [ex: Reached
local-fs.target, Reached network.target, R