{"id":19635919,"url":"https://github.com/git-bruh/s6-scripts","last_synced_at":"2025-02-26T21:42:35.120Z","repository":{"id":123991151,"uuid":"602920500","full_name":"git-bruh/s6-scripts","owner":"git-bruh","description":"Scripts for the s6 init system","archived":false,"fork":false,"pushed_at":"2023-10-08T16:41:25.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T16:56:09.787Z","etag":null,"topics":["init","linux","s6"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/git-bruh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-17T08:22:47.000Z","updated_at":"2023-06-11T20:19:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc293431-f8ec-41e6-9bb5-82968e3046da","html_url":"https://github.com/git-bruh/s6-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-bruh%2Fs6-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-bruh%2Fs6-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-bruh%2Fs6-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-bruh%2Fs6-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/git-bruh","download_url":"https://codeload.github.com/git-bruh/s6-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240941488,"owners_count":19882062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["init","linux","s6"],"created_at":"2024-11-11T12:27:34.450Z","updated_at":"2025-02-26T21:42:35.103Z","avatar_url":"https://github.com/git-bruh.png","language":"Shell","readme":"# s6-scripts\n\n- `s6-contrib`: Artix's s6-contrib (pregenerated, with a few patches, see `_patches`)\n\n- `s6-rc` (`/etc/s6-rc`): Service definitions for [`s6-rc`](https://skarnet.org/software/s6-rc)\n\n  - `adminsv` (`/etc/s6-rc/adminsv`): User-modifiable service directory, contains the `default` service containing the `boot` service. Can be extended with user-written services.\n\n  - `config` (`/etc/s6-rc/config`): Per-service configuration, eg. logging, args, ...\n\n  - `sv` (`/etc/s6-rc/sv -\u003e /usr/share/s6-sv`, amalgamated)\n\n    - `bundles`: Various convenience bundles that servies can depend upon\n\n      - `boot`: Depends on `misc`, `mount`, `setup`\n\n      - `misc`: Guarantees the following:\n\n          * The device manager (`mdevd`) is up, and coldplug events have been processed\n\n          * Any modules listed in `/etc/modules` have been loaded\n\n      - `mount`: Guarantees that the following filesystems are mounted:\n\n          * `cgroups` (`/sys/fs/cgroup` or `/sys/fs/cgroup/unified`)\n\n          * `devtmpfs` (`/dev`)\n\n          * `tmpfs` (`/tmp`)\n\n          * `procfs` (`/proc`)\n\n          * `sysfs` (`/sys`)\n\n          * User filesystems and swap defined in `/etc/fstab`\n\n      - `setup`: Most services would want to depend on this. Guarantees the following:\n\n          * Cleanup actions have been performed, eg. removing `/etc/nologin`\n\n          * Consoles have been setup according to `/etc/vconsole.conf`\n\n          * The hostname has been setup according to `/etc/hostname`\n\n          * The loopback device (`lo`) has been setup\n\n          * `/dev/urandom` has been seeded with `/var/lib/random-seed`\n\n          * `/` 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)\n\n          * `/dev`, `/proc` and `/sys` have been mounted\n\n          * The `sysctl` config has been loaded\n\n    - `core`: Core services required for a working system\n\n      - `cleanup`\n\n      - `coldplug`\n\n      - `console-setup`\n\n      - `dmesg`\n\n      - `hostname`\n\n      - `mdevd`\n\n      - `modules`\n\n      - `mount-cgroups`\n\n      - `mount-devfs`\n\n      - `mount-filesystems`\n\n      - `mount-net`\n\n      - `mount-procfs`\n\n      - `mount-sysfs`\n\n      - `net-lo`\n\n      - `random-seed`\n\n      - `remount-root`\n\n      - `swap`\n\n      - `sysctl`\n\n    - `extra`: Extra services, mostly for external packages\n\n      - `tty{1,2,3,4,5,6}`: Gettys\n\n      - ...\n\n# Credits\n\nMost of the work here has been derived from Artix Linux's s6-related scripts:\n\n- [s6-contrib](https://gitea.artixlinux.org/artix/s6-contrib)\n\n- [s6-scripts](https://gitea.artixlinux.org/artix/s6-scripts)\n\n- [s6-services](https://gitea.artixlinux.org/artix/s6-services)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-bruh%2Fs6-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgit-bruh%2Fs6-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-bruh%2Fs6-scripts/lists"}