Systemctl: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 34: Line 34:


Start (activate) one or more units.
Start (activate) one or more units.
{{Internal|Systemd_Concepts#Starting_a_Service|systemctl start}}


==stop==
==stop==


Stop (deactivate) one or more units.
Stop (deactivate) one or more units.

Revision as of 23:24, 25 April 2017

Internal

Overview

See

systemd Concepts - Services

-q (quiet)

Suppress output to standard output in snapshot, is-active, is-failed, is-enabled, is-system-running, enable and disable. However, it does not suppress output to stderr, which happens when the unit in question does not exists, etc.

You may want to consider:

systemctl -q .... 2>/dev/null

Commands

list-units

Lists loaded units.

show

Show properties of one or more units.

enable

Enable a Service at Boot

start

Start (activate) one or more units.

systemctl start

stop

Stop (deactivate) one or more units.