3
0
Fork 0
forked from mirrors/nixpkgs

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:
Kier Davis 2018-05-06 19:23:20 +01:00
parent 85526bce87
commit 8069b09d05
No known key found for this signature in database
GPG key ID: 66378DA35FF9F0FA

View file

@ -24,11 +24,11 @@ in
environment.systemPackages = [ cfg.package ];
systemd.services.ckb = {
description = "Corsair Keyboard Daemon";
description = "Corsair Keyboards and Mice Daemon";
wantedBy = ["multi-user.target"];
script = "${cfg.package}/bin/ckb-next-daemon";
serviceConfig = {
Restart = "always";
Restart = "on-failure";
StandardOutput = "syslog";
};
};