From dfdaf39ec3b5995e85c3783eb878b60aed893b62 Mon Sep 17 00:00:00 2001 From: Kier Davis Date: Sun, 6 May 2018 19:47:58 +0100 Subject: [PATCH] ckb module: use exec when starting the daemon process This avoids leaving the parent shell process (the one executing the unit script) lying around. --- nixos/modules/hardware/ckb-next.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/hardware/ckb-next.nix b/nixos/modules/hardware/ckb-next.nix index 0316d7cf4119..7c8e0f559587 100644 --- a/nixos/modules/hardware/ckb-next.nix +++ b/nixos/modules/hardware/ckb-next.nix @@ -31,7 +31,7 @@ in systemd.services.ckb-next = { description = "Corsair Keyboards and Mice Daemon"; wantedBy = ["multi-user.target"]; - script = "${cfg.package}/bin/ckb-next-daemon"; + script = "exec ${cfg.package}/bin/ckb-next-daemon"; serviceConfig = { Restart = "on-failure"; StandardOutput = "syslog";