Skip to content

git-bruh/s6-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

Scripts for the s6 init system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages