Emacs systemd service causes slow shutdown/reboot

Also remember that you can add overrides for services using systemctl edit, then you can add in just the specific changes, e.g.:

[Service]
TimeoutStopSec=10

This means the packaged service file isn’t changed and those changes won’t be lost when the package is upgraded.