Systemctl: Difference between revisions
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
Lists loaded units. | Lists loaded units. | ||
==is-enabled== | |||
Tells whether the service is enabled at boot. | |||
==is-active== | |||
Tells whether the service is running, or it was shut down. | |||
==status== | |||
==show== | ==show== |
Revision as of 21:51, 17 May 2017
Internal
Overview
See
-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.
is-enabled
Tells whether the service is enabled at boot.
is-active
Tells whether the service is running, or it was shut down.
status
show
Show properties of one or more units.
enable
is-enabled
Checks whether a unit is enabled.
start
Start (activate) one or more units.
stop
Stop (deactivate) one or more units.