1
1
Fork
You've already forked s6-scripts
0
Scripts for the s6 init system
  • Shell 100%
2026年01月18日 13:27:50 +05:30
_patches _patches: add new 2023年02月22日 18:50:11 +05:30
s6-contrib s6-contrib: regen 2023年02月22日 18:51:06 +05:30
s6-rc sv: add icecc{d,-scheduler} 2026年01月18日 13:27:50 +05:30
install.sh initial 2023年02月20日 17:30:50 +05:30
LICENSE initial 2023年02月20日 17:30:50 +05:30
README.md README 2023年02月24日 15:42:36 +05:30

s6-scripts

  • s6-contrib: Artix's s6-contrib (pregenerated, with a few patches, see _patches)

  • s6-rc (/etc/s6-rc): Service definitions for s6-rc

    • adminsv (/etc/s6-rc/adminsv): User-modifiable service directory, contains the default service containing the boot service. Can be extended with user-written services.

    • config (/etc/s6-rc/config): Per-service configuration, eg. logging, args, ...

    • sv (/etc/s6-rc/sv -> /usr/share/s6-sv, amalgamated)

      • bundles: Various convenience bundles that servies can depend upon

        • boot: Depends on misc, mount, setup

        • misc: Guarantees the following:

          • The device manager (mdevd) is up, and coldplug events have been processed

          • Any modules listed in /etc/modules have been loaded

        • mount: Guarantees that the following filesystems are mounted:

          • cgroups (/sys/fs/cgroup or /sys/fs/cgroup/unified)

          • devtmpfs (/dev)

          • tmpfs (/tmp)

          • procfs (/proc)

          • sysfs (/sys)

          • User filesystems and swap defined in /etc/fstab

        • setup: Most services would want to depend on this. Guarantees the following:

          • Cleanup actions have been performed, eg. removing /etc/nologin

          • Consoles have been setup according to /etc/vconsole.conf

          • The hostname has been setup according to /etc/hostname

          • The loopback device (lo) has been setup

          • /dev/urandom has been seeded with /var/lib/random-seed

          • / has been remounted rw (doesn't guarantee that /home or similar paths have been mounted if located on different filesystems, depend on mount or mount-filesystems for that)

          • /dev, /proc and /sys have been mounted

          • The sysctl config has been loaded

      • core: Core services required for a working system

        • cleanup

        • coldplug

        • console-setup

        • dmesg

        • hostname

        • mdevd

        • modules

        • mount-cgroups

        • mount-devfs

        • mount-filesystems

        • mount-net

        • mount-procfs

        • mount-sysfs

        • net-lo

        • random-seed

        • remount-root

        • swap

        • sysctl

      • extra: Extra services, mostly for external packages

        • tty{1,2,3,4,5,6}: Gettys

        • ...

Credits

Most of the work here has been derived from Artix Linux's s6-related scripts: