systemctl-revert
Restore units to vendor defaults
TLDR
Revert units to vendor defaults
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
systemctl-edit(1), systemctl-mask(1), systemctl(1)
