Changes

Jump to: navigation, search

Init vs systemd

987 bytes added, 18:15, 30 January 2016
no edit summary
:In "Simpler TermsLanguage":
:'''systemd''' is a more efficient method of controlling processes. It has the flexibility to start services in parallel, and have them communicate with each other, even if they are restarted (respawned). This is particularly useful for system administrators to temporarily service or update services without affecting the other dependent services.
=== systemd Command Usage ===
 
:'''Below are examples of systemctl commands:'''
<div style="margin-left:30px">
{|cellpadding="8" width="5070%" border="1" cellspacing="0"|-|Listing Running Services|<span style="font-family:courier,monospace">'''systemctl list-units'''</span>|-|Display Status of all Services<br>(pipe to grep for just one service)|<span style="font-family:courier,monospace">'''systemctl list-units --all'''</span>|-|Confirm Status of Running Service|<span style="font-family:courier,monospace">'''systemctl status name.service'''</span>
|-
|Stop Service|<span style="font-family:courier,monospace">'''systemctl stop service-name.service'''</span>
|-
|Start Service|<span style="font-family:courier,monospace">'''systemctl start service-name.service'''</span>
|-
|Restart Service
|<span style="font-family:courier,monospace">'''systemctl restart service-name.service'''</span>
|-
|Display Service Status
|<span style="font-family:courier,monospace">'''systemctl status service-name.service'''</span>
|-
|Enable Service
|<span style="font-family:courier,monospace">'''systemctl enable service-name.service'''</span>
|-
|Disable Service
|<span style="font-family:courier,monospace">'''systemctl disable name.service'''</span>|-|Listing Running Services|<span style="font-family:courier,monospace">'''systemctl --list-units'''</span>|-|Display Status of all Services|<span style="font-family:courier,monospace">'''systemctl --list-units --allname'''</span> 
|}
{{Admon/note|Graphical Version|The '''systemadm''' command provides a graphical tool to manage services, but is still in the development stage and should not be used.|}}
=== Changing the Runlevel ===
 
According to WIKIPedia ([http://en.wikipedia.org/wiki/Runlevel http://en.wikipedia.org/wiki/Runlevel])"
 
:''"Runlevel" defines the state of the machine after boot. Different runlevels are typically assigned to:''
 
::* ''single-user mode''
::* ''multi-user mode without network services started''
::* ''multi-user mode with network services started''
::* ''system shutdown''
::* system reboot
 
:''The exact setup of these configurations will vary from OS to OS, and from one Linux distribution to another.''
 
 
'''Refer to the following link to change the runlevel of your system using systemctl:'''
 
::[http://fedoraproject.org/wiki/Systemd#How_do_I_change_the_runlevel.3F http://fedoraproject.org/wiki/Systemd#How_do_I_change_the_runlevel.3F]
13,420
edits

Navigation menu