systemctl-preset
Reset the enablement state of unit files to the defaults specified in preset policy files. tldr-pages
On Linux
Linux
Reset the enablement state to preset defaults
systemctl preset unit1 unit2 ...IdentifyEnable only if marked as enabled in the preset policy
systemctl preset unit --preset-mode enable-onlyIdentifyDisable only if marked as disabled in the preset policy
systemctl preset unit --preset-mode disable-onlyIdentifySuppress output and return only the exit code
systemctl preset unit --quietIdentify