Post AV1CuYNKDUnUIFcrdw by JdeBP@tty0.social
 (DIR) More posts by JdeBP@tty0.social
 (DIR) Post #AV0f632R9hSs8ZAIQC by charadon@mb.iotib.net
       2023-04-25T11:57:06Z
       
       0 likes, 0 repeats
       
       So... I may have fallen in love with the #runit #init system lol#linux #unix
       
 (DIR) Post #AV0kBruJx6ez7ixnnM by RL_Dane@fosstodon.org
       2023-04-25T12:55:19Z
       
       0 likes, 0 repeats
       
       @charadonTell me a little about it
       
 (DIR) Post #AV0sl70WbNDBiyBKlc by charadon@mb.iotib.net
       2023-04-25T14:30:13Z
       
       0 likes, 0 repeats
       
       @RL_Dane@fosstodon.org Well...It's incredibly fastBarely uses any memoryUses shell scripts to create services, but aren't has asinine as sysvinit scripts are (Runit services are one line, versus sysvinit init, which can get up to 40 lines of shell for a simple daemon)Logging is incredibly easy compared to sysvinitWorks on top of any existing init system if you don't want it to replace the old one outright. Yes, it can even be used alongside systemd.Very unixy way of managing services. It's basically just a bunch of symlinks and touch files.
       
 (DIR) Post #AV0up8q1w9RCT8K2To by RL_Dane@fosstodon.org
       2023-04-25T14:54:28Z
       
       0 likes, 0 repeats
       
       @charadonWas it you that said a while back that #NetBSD's init was their favorite?If so, how do the two compare?
       
 (DIR) Post #AV0x0XiA02IwhmCnEO by charadon@mb.iotib.net
       2023-04-25T15:17:55Z
       
       0 likes, 0 repeats
       
       @RL_Dane@fosstodon.org NetBSD's is still my favorite, but the two don't really compare. Runit is definitely more Service oriented than NetBSD, which is more daemon oriented
       
 (DIR) Post #AV100eHXryHqwjUyGG by RL_Dane@fosstodon.org
       2023-04-25T15:52:32Z
       
       0 likes, 0 repeats
       
       @charadonI'm not sure I understand the difference XD
       
 (DIR) Post #AV1BBe6TyL5D4elpC4 by JdeBP@tty0.social
       2023-04-25T17:57:47Z
       
       0 likes, 0 repeats
       
       @charadon Is it your first encounter with a daemontools-family system?#runit #s6 #daemontools
       
 (DIR) Post #AV1CuYNKDUnUIFcrdw by JdeBP@tty0.social
       2023-04-25T18:17:08Z
       
       0 likes, 0 repeats
       
       @charadon @RL_Dane The whole "init scripts are massive shell scripts" was always a bit misleading, although I _have_ seen several lengthy Mewburn rc scripts, especially in the networking parts of the system.Mewburn rc was designed with a bunch of shell function helpers to cut down on common script code.  Even van Smoorenburg rc, in a push to modernize in the early 2010s that was spurred on by the advent of systemd, gained a mechanism for much shorter scripts.#rc #Mewburn #vanSmoorenburg