diff options
author | rnhmjoj <micheleguerinirocco@me.com> | 2016-05-09 23:27:58 +0200 |
---|---|---|
committer | rnhmjoj <micheleguerinirocco@me.com> | 2016-05-09 23:28:30 +0200 |
commit | e8fff519476cb2b48f2afd497e3494b41faf3a27 (patch) | |
tree | 80cc96a64fce22758a94c5413851484fce88661f /nixos/modules/services/x11/unclutter.nix | |
parent | b10659196b14358858c786749824956fac3a889d (diff) |
unclutter: prevent service restarting too soon
Diffstat (limited to 'nixos/modules/services/x11/unclutter.nix')
-rw-r--r-- | nixos/modules/services/x11/unclutter.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/unclutter.nix b/nixos/modules/services/x11/unclutter.nix index 65532c7a32b9..3260fdb3d54d 100644 --- a/nixos/modules/services/x11/unclutter.nix +++ b/nixos/modules/services/x11/unclutter.nix @@ -73,6 +73,7 @@ in { ${concatMapStrings (x: " -"+x) cfg.extraOptions} \ -not ${concatStringsSep " " cfg.excluded} \ ''; + serviceConfig.RestartSec = 3; serviceConfig.Restart = "always"; }; }; |