Skip to content

Improve system init detection and runit compatibility in setup.sh#95

Open
NonameBlank007 wants to merge 3 commits into
Keyitdev:masterfrom
NonameBlank007:cleanup
Open

Improve system init detection and runit compatibility in setup.sh#95
NonameBlank007 wants to merge 3 commits into
Keyitdev:masterfrom
NonameBlank007:cleanup

Conversation

@NonameBlank007

@NonameBlank007 NonameBlank007 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

@Keyitdev, Pick this up insted of #94 (i'm closing it). Also i have tested others on VM as well and they are fine as they are, only runit needed work.

1. The previous commit didn't account for correct "sv" path.
2. The previous setup gave priority to artix runit setup, but sv path was incorrect
 - Its "/etc/runit/sv", but accidentaly gave "/etc/sv" which dosen't exist.
 - So, improve it by adding various other check and make it a branch "if-elif" check.
 - Called '_runit_sv'.
3. Improve on/default to first check for current running system dir's insted.
 - Prioritise current running insted of Not/Enabled symlinked "/etc/runit/runsvdir/default".
 - Above should only gave priority if it is not enabled/running.
 - So, not recommended.

link of ref:
[1]: https://docs.voidlinux.org/config/services/index.html | Enabling Services
[2]: https://wiki.gentoo.org/wiki/Runit#Runit_and_service_management | 3.4.2
[3]: https://wiki.artixlinux.org/Main/Runit | Basic usage

Signed-off-by: Noname Blank <nonameblank007@gmail.com>
It requires additional sddm-runit to add to service file directory (e.g., Artix-runit)

Signed-off-by: Noname Blank <nonameblank007@gmail.com>
Comment thread setup.sh Outdated
- Download additional pkg only if os-release ID=artix
@Keyitdev

Copy link
Copy Markdown
Owner

I’ll merge it soon (I’ve got other pull requests and want to avoid conflicts), thanks

@Keyitdev Keyitdev changed the title Fix bugs and add improvement Improve system init detection and runit compatibility in setup.sh Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants