From 8069b09d057489089257e4790ef5896761e3024c Mon Sep 17 00:00:00 2001 From: Kier Davis Date: Sun, 6 May 2018 19:23:20 +0100 Subject: [PATCH] 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. --- nixos/modules/hardware/ckb.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/hardware/ckb.nix b/nixos/modules/hardware/ckb.nix index a8e697f7939..8c0cdbd24d4 100644 --- a/nixos/modules/hardware/ckb.nix +++ b/nixos/modules/hardware/ckb.nix @@ -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"; }; };