summary refs log tree commit diff
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorKier Davis <kierdavis@gmail.com>2018-05-06 19:47:58 +0100
committerKier Davis <kierdavis@gmail.com>2018-10-22 13:23:30 +0100
commitdfdaf39ec3b5995e85c3783eb878b60aed893b62 (patch)
tree5de4a750e2254cc44314ea082fdbe9bce0d1a063 /nixos/modules/hardware
parent81178785c95e130160ee25673bec10888f662acc (diff)
downloadnixpkgs-dfdaf39ec3b5995e85c3783eb878b60aed893b62.tar
nixpkgs-dfdaf39ec3b5995e85c3783eb878b60aed893b62.tar.gz
nixpkgs-dfdaf39ec3b5995e85c3783eb878b60aed893b62.tar.bz2
nixpkgs-dfdaf39ec3b5995e85c3783eb878b60aed893b62.tar.lz
nixpkgs-dfdaf39ec3b5995e85c3783eb878b60aed893b62.tar.xz
nixpkgs-dfdaf39ec3b5995e85c3783eb878b60aed893b62.tar.zst
nixpkgs-dfdaf39ec3b5995e85c3783eb878b60aed893b62.zip
ckb module: use exec when starting the daemon process
This avoids leaving the parent shell process (the one executing the
unit script) lying around.
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/ckb-next.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/ckb-next.nix b/nixos/modules/hardware/ckb-next.nix
index 0316d7cf411..7c8e0f55958 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";