mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
unclutter: prevent service restarting too soon
This commit is contained in:
parent
b10659196b
commit
e8fff51947
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ in {
|
|||
${concatMapStrings (x: " -"+x) cfg.extraOptions} \
|
||||
-not ${concatStringsSep " " cfg.excluded} \
|
||||
'';
|
||||
serviceConfig.RestartSec = 3;
|
||||
serviceConfig.Restart = "always";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue