mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
426 B
Plaintext
22 lines
426 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# systemctl stop
|
|
|
|
> Stop systemd units.
|
|
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#stop%20PATTERN%E2%80%A6>.
|
|
|
|
- Stop a unit:
|
|
|
|
`systemctl stop {{unit}}`
|
|
|
|
- Stop a service and suppress warnings:
|
|
|
|
`systemctl stop {{unit}} --no-warn`
|
|
|
|
- Stop a user unit:
|
|
|
|
`systemctl stop {{unit}} --user`
|