diff options
author | Z. Liu <zhixu.liu@gmail.com> | 2024-12-18 11:37:24 +0800 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-12-27 15:11:19 +0000 |
commit | 13744710e120a8bbdea432ec1fb82f13ecc66a22 (patch) | |
tree | a3230435df33e220967a7334692331d84911702e /app-dicts/sword-FreSynodale1921/sword-FreSynodale1921-1.0.3.ebuild | |
parent | net-irc/ngircd: fix several bugs (diff) | |
download | gentoo-master.tar.gz gentoo-master.tar.bz2 gentoo-master.zip |
runit can be used either as a replacement of init (pid 1) or as a process
supervisor. We're discussing the first case here. Currently, Gentoo use openrc
to handle service startup and stop in runit's stage 1 & 3, which might be too
heavy for a lighweight init. Most people who choose runit as init will likely
to write their own scripts. Therefore, the call of openrc is changed to a
template script, and won't be called by default.
Additionally, to provide users with more options, a new USE "scripts" is added.
If disabled, no script(s) will be installed into /etc/runit.
1. remove dependency on openrc, add USE scripts (enabled by default), if
disabled, will keep /etc/runit clean.
2. replace /bin/sh w/ /bin/bash for stage 1 & 3 scripts.
3. add /etc/runit/rc.sh to call user-defined scripts during stage 1 & 3
4. move the call of openrc in /etc/runit/{1,3} to /etc/runit/rc/{1,3}.openrc.example
Closes: https://bugs.gentoo.org/611846
Reviewed-by: Alex Efros <powerman-asdf@yandex.ru>
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39776
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-dicts/sword-FreSynodale1921/sword-FreSynodale1921-1.0.3.ebuild')
0 files changed, 0 insertions, 0 deletions