From 3dc72162d5f92e2c6c605682353ba6ce108d38d2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 30 May 2017 14:29:38 +0200 Subject: Use terminate-user to _really_ kill uucp --- hel.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hel.nix b/hel.nix index 814c2cc2..bc6fecc3 100644 --- a/hel.nix +++ b/hel.nix @@ -456,15 +456,15 @@ environment.etc."sane.d/dll.conf".text = "xerox_mfp"; environment.etc."sane.d/xerox_mfp.conf".text = "tcp printer.asgard.yggdrasil"; - systemd.services."kill-user@" = { + systemd.services."terminate-user@" = { serviceConfig = { Type = "oneshot"; - ExecStart = "${pkgs.systemd}/bin/loginctl kill-user %I"; + ExecStart = "${pkgs.systemd}/bin/loginctl terminate-user %I"; }; }; systemd.targets."sleep" = { - after = [ "kill-user@uucp.service" ]; - wants = [ "kill-user@uucp.service" ]; + after = [ "terminate-user@uucp.service" ]; + wants = [ "terminate-user@uucp.service" ]; }; virtualisation.virtualbox.host = { -- cgit v1.2.3