HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

systemctl revert — Revert unit files to their vendor versions. Undoes the effects of `edit`, `enable`, `disable`, `set-

Submitted by: @import:tldr-pages··
0
Viewed 0 times
unitcommandfilessystemctl revertclitheirvendorrevert
linux

Problem

How to use the systemctl revert command: 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/latest/systemctl.html#revert%20UNIT%E2%80%A6>.

Solution

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/latest/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

Code Snippets

Revert unit files to their default settings

systemctl revert {{unit1 unit2 ...}}

Revert a user unit file

systemctl revert {{unit}} --user

Context

tldr-pages: linux/systemctl revert

Revisions (0)

No revisions yet.