sudo systemctl daemon-reload

Category: Self-Hosting

sudo systemctl daemon-reload

Tell systemd to reload unit files from disk — required after creating or editing a .service file

Tells systemd to re-scan /etc/systemd/system/ for new or changed unit files. You must run this after creating or editing any .service file before the changes take effect.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.