Changes

Jump to: navigation, search

Init vs systemd

208 bytes added, 19:02, 6 February 2012
no edit summary
There are seven different types of units:
 
|
:* '''service''' - processes (daemons) start/stop/restart/reload
:* '''socket''' - define communication channel (for other services)
=== systemd Examples ===
{|cellpadding="8" width="100%"
|- valign="top"
|
Stop Service
Start Service
Restart Service
Display Service Status
Enable Service
Disable Service
Listing Running Services
Display Status of all Services
|
:<span style="font-family:courier,monospace">'''systemctl stop name.service'''</span>
:<span style="font-family:courier,monospace">'''systemctl start name.service'''</span>
:<span style="font-family:courier,monospace">'''systemctl enable name.service'''</span>
:<span style="font-family:courier,monospace">'''systemctl disable name.service'''</span>
 
:<span style="font-family:courier,monospace">'''systemctl --list-units'''</span>
:<span style="font-family:courier,monospace">'''systemctl --list-units --all'''</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.|}}
13,420
edits

Navigation menu