Changes

Jump to: navigation, search

Init vs systemd

151 bytes added, 18:15, 30 January 2016
no edit summary
{|cellpadding="8" width="70%" border="1" cellspacing="0"
|-
|Listing Running ServicesStop |<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 stop status name.service'''</span>
|-
|Stop Service|<span style="font-family:courier,monospace">'''systemctl stop service-name'''</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> 
|}
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.''
* [http://en.wikipedia.org/wiki/Single-user_mode 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