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>