mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-15 02:48:40 +00:00
Update cheatsheets
This commit is contained in:
18
tldr/linux/systemctl-revert
Normal file
18
tldr/linux/systemctl-revert
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl revert
|
||||
|
||||
> Revert unit files to their vendor versions.
|
||||
> Undoes the effects of `edit`, `enable`, `disable`, `set-property`, and `mask`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#revert%20UNIT%E2%80%A6>.
|
||||
|
||||
- Revert unit files to their default settings:
|
||||
|
||||
`systemctl revert {{unit1 unit2 ...}}`
|
||||
|
||||
- Revert a user unit file:
|
||||
|
||||
`systemctl revert {{unit}} --user`
|
||||
Reference in New Issue
Block a user