[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.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:slackware_admin:runit [2019/01/31 11:57 (UTC)] – Introduced a solution for DE and the finish script chrisabelahowtos:slackware_admin:runit [2019/05/27 14:04 (UTC)] chrisabela
Line 188: Line 188:
 The traditional init reads ''/etc/inittab'' file to see how to run the system. It runs the ''/etc/rc.d/rc.S'' script and runs it. If set in the default runlevel 3, it follows it with ''/etc/rc.d/rc.M''. In runit the initialisation script is located in ''/etc/runit/1'' for all runlevels. By default ''/etc/runit/2'' is restricted to the TTY services.  The traditional init reads ''/etc/inittab'' file to see how to run the system. It runs the ''/etc/rc.d/rc.S'' script and runs it. If set in the default runlevel 3, it follows it with ''/etc/rc.d/rc.M''. In runit the initialisation script is located in ''/etc/runit/1'' for all runlevels. By default ''/etc/runit/2'' is restricted to the TTY services. 
  
-The script ''/etc/rc.d/rc.6'' is the rebooting script for the traditional init, while ''/etc/rc.d/rc.0'' (symlinked to former) is the halting script. In runit, these scripts are called by ''/etc/runit/3''+The script ''/etc/rc.d/rc.6'' is the rebooting script for the traditional init, while ''/etc/rc.d/rc.0'' (symlinked to the former) is the halting script. In runit, these scripts are called by ''/etc/runit/3''
  
 Note that the shutdown command provided by sysvinit package will not work in runit. To reboot you enter Note that the shutdown command provided by sysvinit package will not work in runit. To reboot you enter
Line 228: Line 228:
  
 <code> <code>
-chmod -R chris.users /etc/sv/example+chown chris.users /etc/sv/example
 </code> </code>
  
Line 285: Line 285:
 </code> </code>
  
-and edit another file under it also called ''/etc/sv/example/log/run''+and edit another file under italso called ''/etc/sv/example/log/run''
    
 <code> <code>
Line 357: Line 357:
  
 Each of these is a shortcut, for 'up', 'down', and 'terminate', respectively. Only the first letter of each word is recognised. Each of these is a shortcut, for 'up', 'down', and 'terminate', respectively. Only the first letter of each word is recognised.
-More verbose forms of the above+ 
 +More verbose forms of the above:
  
 <code> <code>
Line 528: Line 529:
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 {{tag>init runit}} {{tag>init runit}}
 +
  
  
 howtos:slackware_admin:runit ()