Skip to content

Instantly share code, notes, and snippets.

@mschmitt
Last active March 18, 2022 09:00
Show Gist options
  • Save mschmitt/db3304edbe23e207dae3223e76427224 to your computer and use it in GitHub Desktop.
Save mschmitt/db3304edbe23e207dae3223e76427224 to your computer and use it in GitHub Desktop.
systemd: Howto quickly sigkill (-9) a service that blocks shutdown for minutes. (Here: ESET Antivirus, eea.service)
# /lib/systemd/system/eea.service.d/stfd.conf
[Service]
TimeoutStopSec=5
TimeoutStopFailureMode=kill
@moschlar
Copy link

Warum tust du das nicht nach /etc/systemd?

@mschmitt
Copy link
Author

Warum tust du das nicht nach /etc/systemd?

Weil die Datei über ein von uns gebautes Paket aufs System kommt. Siehe man systemd.unit -> Unit File Load Path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment