Editing OpenRC

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 144: Line 144:
  
 
All runlevels are represented as folders in ''/etc/runlevels/'' with symlinks to the actual service scripts.<br/>
 
All runlevels are represented as folders in ''/etc/runlevels/'' with symlinks to the actual service scripts.<br/>
All services must reside in the '''/etc/[[Init.d|init.d]]''' or '''/usr/[[Local/etc/init.d|local/etc/init.d]]''' directories. They must also conform to the '''OpenRC''' runscript standard.
+
All services must reside in the '''/etc/[[Init.d|init.d]]''' or ''/usr/local/etc/init.d'' directories. They must also conform to the OpenRC runscript standard.
  
Calling '''OpenRC''' with an argument (openrc default) will switch to that runlevel; this will start and stop services as needed.
+
Calling OpenRC with an argument (openrc default) will switch to that runlevel; this will start and stop services as needed.
  
 
Managing runlevels is usually done through the '''[[rc-update]]''' helper, but could of course be done by hand if desired. e.g. ''rc-update add foo default'' - add foo to the default runlevel '''Note:''' This will not auto-start foo! You'd still have to trigger rc or run the service script by hand.
 
Managing runlevels is usually done through the '''[[rc-update]]''' helper, but could of course be done by hand if desired. e.g. ''rc-update add foo default'' - add foo to the default runlevel '''Note:''' This will not auto-start foo! You'd still have to trigger rc or run the service script by hand.

Please note that all contributions to GhostBSD Wiki are considered to be released under the Creative Commons Attribution (see GhostBSD Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)