diff options
author | Kier Davis <kierdavis@gmail.com> | 2018-05-06 19:47:58 +0100 |
---|---|---|
committer | Kier Davis <kierdavis@gmail.com> | 2018-10-22 13:23:30 +0100 |
commit | dfdaf39ec3b5995e85c3783eb878b60aed893b62 (patch) | |
tree | 5de4a750e2254cc44314ea082fdbe9bce0d1a063 /nixos/modules/hardware/ckb-next.nix | |
parent | 81178785c95e130160ee25673bec10888f662acc (diff) |
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/ckb-next.nix')
-rw-r--r-- | nixos/modules/hardware/ckb-next.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/ckb-next.nix b/nixos/modules/hardware/ckb-next.nix index 0316d7cf4119b..7c8e0f5595876 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"; |