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 = {
|
systemd.services.ckb-next = {
|
||||||
description = "Corsair Keyboards and Mice Daemon";
|
description = "Corsair Keyboards and Mice Daemon";
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
script = "${cfg.package}/bin/ckb-next-daemon";
|
script = "exec ${cfg.package}/bin/ckb-next-daemon";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
StandardOutput = "syslog";
|
StandardOutput = "syslog";
|
||||||
|
Loading…
Reference in New Issue
Block a user