mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
ckb module: use exec when starting the daemon process
This avoids leaving the parent shell process (the one executing the unit script) lying around.
This commit is contained in:
parent
81178785c9
commit
dfdaf39ec3
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue