After updating the ExecStart directive in the custom unit file /etc/systemd/system/webapp.service, the administrator notices that the service still launches the old binary. The goal is to make systemd recognize the revised unit definition and rebuild its dependency tree without immediately restarting any other units. Which single systemctl subcommand should be executed to achieve this?
systemctl daemon-reload tells the systemd manager to reread every unit file on disk, rerun all generators, and rebuild the entire dependency graph. This makes systemd aware of any new or modified unit files so that subsequent start, restart, or enable operations use the updated definitions. It does not restart the affected service or any other units-it only refreshes systemd's internal state.
systemctl reload webapp.service would send a configuration-reload signal to the service process (if the unit supports it) but would leave the old unit file cached in systemd.
systemctl daemon-reexec restarts the systemd manager process itself and is heavier than required for unit-file changes.
systemctl reset-failed webapp.service merely clears the failed state of a unit; it does not load new unit definitions.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of systemctl daemon-reload?
Open an interactive chat with Bash
How does systemctl reload differ from systemctl daemon-reload in functionality?
Open an interactive chat with Bash
What happens when you use systemctl daemon-reexec instead of daemon-reload?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
Services and User Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .