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:
Kier Davis 2018-05-06 19:47:58 +01:00
parent 81178785c9
commit dfdaf39ec3
No known key found for this signature in database
GPG key ID: 66378DA35FF9F0FA

View file

@ -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";