linux_wiki:init_systems

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:init_systems [2015/03/10 23:33]
billdozor
linux_wiki:init_systems [2019/05/25 23:50] (current)
Line 6: Line 6:
  
 **Checklist** **Checklist**
-  * Distro: Varies, depending upon init system.+  * Distro(s): Varies, depending upon init system.
  
 ---- ----
Line 35: Line 35:
  
 ^ Description ^ Sysv ^ Upstart ^ Systemd ^ ^ Description ^ Sysv ^ Upstart ^ Systemd ^
-| Halt system | 0 | upstart | poweroff.target | +| Halt system | 0 | runlevel [0] | poweroff.target | 
-| Single user mode | 1,s,single | upstart | rescue.target | +| Single user mode | 1,s,single | runlevel [1] | rescue.target | 
-| User defined. Same as 3 by default. | 2,4 | upstart | multi-user.target | +| User defined. Same as 3 by default. | 2,4 | runlevel [24] | multi-user.target | 
-| Multi-user, non-graphical | 3 | upstart | multi-user.target | +| Multi-user, non-graphical | 3 | runlevel [3] | multi-user.target | 
-| Multi-user, graphical | 5 | upstart | graphical.target | +| Multi-user, graphical | 5 | runlevel [5] | graphical.target | 
-| Reboot | 6 | upstart | reboot.target | +| Reboot | 6 | runlevel [6] | reboot.target | 
-| Emergency shell | emergency | upstart | emergency.target |+| Emergency shell | emergency | | emergency.target | 
 + 
 +  * Note: Upstart has many different "events" besides runlevels that can trigger jobs to start, such as "start on file-system" or "start on startup"
  
 ---- ----
Line 60: Line 62:
  
 ==== Master Copy of Startup Scripts ==== ==== Master Copy of Startup Scripts ====
-/etc/init.d/+/etc/rc.d/init.d/
  
 ==== rc#.d directories ==== ==== rc#.d directories ====
-The rc#.d directories contain symbolic links to the scripts in /etc/init.d.+The rc#.d directories contain symbolic links to the scripts in /etc/rc.d/init.d.
  
 # = the run level, ie rc0.d, rc1.d, rc2.d, rc3.d, rc4.d, rc5.d, rc6.d # = the run level, ie rc0.d, rc1.d, rc2.d, rc3.d, rc4.d, rc5.d, rc6.d
Line 106: Line 108:
 ==== Location of Unit Scripts ==== ==== Location of Unit Scripts ====
  
-All of systemd unit scripts are located here (and sub folders): +  * All of systemd unit scripts are located here (and sub folders): /usr/lib/systemd/ 
-<code bash> +  Systemd uses this directory of symlinks to run those scripts: /etc/systemd/system/ 
-/usr/lib/systemd/ +  Other systemd configuration: /etc/systemd/ 
-</code> +  * Unit control: systemctl
- +
-Systemd uses this directory of symlinks to run those scripts: +
-<code bash> +
-/etc/systemd/system/ +
-</code> +
- +
-Other systemd configuration: +
-<code bash> +
-/etc/systemd/ +
-</code>+
  
 ==== Laptop: Disable Suspend ==== ==== Laptop: Disable Suspend ====
  • linux_wiki/init_systems.1426044809.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)