LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemctl-revert

Restore units to vendor defaults

TLDR

Revert units to vendor defaults
$ systemctl revert [unit1 unit2 ...]
copy
Revert user unit
$ systemctl revert [unit] --user
copy

SYNOPSIS

systemctl revert UNIT...

DESCRIPTION

systemctl revert restores unit files to their original vendor versions by removing all local customizations. This undoes the effects of `edit`, `enable`, `disable`, `set-property`, and `mask` commands.It removes drop-in files from `/etc/systemd/system/<unit>.d/`, the unit file from `/etc/systemd/system/` if it's a local copy, and any symlinks created by enable/disable/mask.

PARAMETERS

--user

Operate on user units

CAVEATS

Irreversibly removes all local customizations. Cannot recover deleted customizations without backups. Use carefully on production systems.

HISTORY

The revert subcommand provides a clean way to reset unit configuration to distribution defaults, useful when troubleshooting or when customizations are no longer needed.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid