Services and User Management
An administrator runs systemctl disable httpd while httpd is running. What is the state of the service afterward?
Show the answer
Correct answerA. It keeps running, but it will not start automatically at the next boot
AWhy this is right: Disable removes the boot-time symlinks but leaves the running instance alone.
BWhy not this: Stopping as well needs systemctl disable --now; plain disable does not stop the service.
CWhy not this: disable does not stop the service, and it does remove the links that start it at boot.
DWhy not this: Blocking manual starts is what mask does; a disabled unit can still be started by hand.
Disable only removes the symlinks that start the unit automatically at boot or on activation of a target. The running process continues until stopped, unless the --now option is added to stop it as well.