uWSGI Won't Stop (and Your systemd Service Keeps Failing): SIGTERM Means Reload

I was moving a Django app from “uWSGI running in a terminal” to a proper systemd service. The service would not start, kill did nothing useful, and later systemctl restart took a minute and a half. All three problems had the same cause: uWSGI does not treat SIGTERM as “stop”. If you only want the fix, it is this line in your unit file: KillSignal=SIGQUIT The rest of this post explains what is going on, so you can recognise it next time. ...

December 6, 2026 · 5 min · Sysadmin Field Notes