mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
ckb module: update systemd service parameters to match upstream
This changes the description and restart mode to the values present in lib/systemd/system/ckb.service within the ckb package.
This commit is contained in:
parent
85526bce87
commit
8069b09d05
1 changed files with 2 additions and 2 deletions
|
@ -24,11 +24,11 @@ in
|
||||||
environment.systemPackages = [ cfg.package ];
|
environment.systemPackages = [ cfg.package ];
|
||||||
|
|
||||||
systemd.services.ckb = {
|
systemd.services.ckb = {
|
||||||
description = "Corsair Keyboard Daemon";
|
description = "Corsair Keyboards and Mice Daemon";
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
script = "${cfg.package}/bin/ckb-next-daemon";
|
script = "${cfg.package}/bin/ckb-next-daemon";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "always";
|
Restart = "on-failure";
|
||||||
StandardOutput = "syslog";
|
StandardOutput = "syslog";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue