[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:slackware_admin:runit [2019/09/17 04:43 (UTC)] – add section on how to use runit with other init scripts aaditya | howtos:slackware_admin:runit [2019/09/19 15:24 (UTC)] – formatting and minor changes aaditya | ||
---|---|---|---|
Line 11: | Line 11: | ||
To read on the benefits of runit, see here: http:// | To read on the benefits of runit, see here: http:// | ||
- | Unless otherwise stated, all commands in this article are to be run by root. | + | //* Unless otherwise stated, all commands in this article are to be run by root.// |
===== Use runit with traditional init (sysvinit) ===== | ===== Use runit with traditional init (sysvinit) ===== | ||
Line 80: | Line 80: | ||
===== How to replace init with runit ===== | ===== How to replace init with runit ===== | ||
+ | |||
+ | runit provides '' | ||
If you followed the previous chapter, then stop runsvdir and reverse all the changes that you made on your system. | If you followed the previous chapter, then stop runsvdir and reverse all the changes that you made on your system. | ||
Line 188: | Line 190: | ||
==== Startup and Shutdown ==== | ==== Startup and Shutdown ==== | ||
- | The traditional | + | The bsd style init scripts provided by Slackware are used to bring up the system. |
+ | |||
+ | Initially | ||
The script ''/ | The script ''/ | ||
Line 450: | Line 454: | ||
Only one executable can be called for a service (the last line) and it must be called by the '' | Only one executable can be called for a service (the last line) and it must be called by the '' | ||
- | Another set of installable run scripts are available at [[https:// | + | Another set of installable run scripts are available at [[https:// |
In direct contrast to Slackware' | In direct contrast to Slackware' | ||
Line 460: | Line 464: | ||
</ | </ | ||
- | Or you can use the '' | + | Or you can use the '' |
< | < | ||
Line 521: | Line 525: | ||
==== OpenRC ==== | ==== OpenRC ==== | ||
- | Here '' | + | Here '' |
- | It requires a working OpenRC system. Check the [[howtos: | + | It requires a working OpenRC system. Check the [[howtos: |
The level 1 runit service uses the OpenRC '' | The level 1 runit service uses the OpenRC '' | ||
- | Check the [[https:// | + | The [[https:// |
==== void-runit ==== | ==== void-runit ==== | ||
Line 536: | Line 540: | ||
===== Sources ===== | ===== Sources ===== | ||
- | (1) http:// | + | 1. http:// |
+ | |||
+ | 2. https:// | ||
- | (2) https://slackbuilds.org | + | 3. https://en.wikipedia.org/wiki/Init |
- | (3) https://en.wikipedia.org/wiki/Init | + | 4. https://voidlinux.org/usage/runit/ |
- | (4) https://voidlinux.org/ | + | 5. https://www.youtube.com/watch? |
- | (5) https://www.youtube.com/watch? | + | 6. http://kchard.github.io/ |
- | (6) http://kchard.github.io/runit-quickstart/ | + | 7. https://www.slackbook.org/beta/ |
- | (7) https://www.slackbook.org/beta/ | + | 8. https://gitlab.com/chrisabela/runit_scripts_for_slackware |
- | (8) https://gitlab.com/chrisabela/runit_scripts_for_slackware | + | 9. https://wiki.gentoo.org/wiki/Runit |
- | (9) https://wiki.gentoo.org/wiki/Runit | + | 10. https://github.com/void-linux/void-runit |
- | (10) https:// | + | ---- |
* Written for Slackware 14.2 in December 2018 | * Written for Slackware 14.2 in December 2018 |