unclutter: prevent service restarting too soon
This commit is contained in:
parent
b10659196b
commit
e8fff51947
@ -73,6 +73,7 @@ in {
|
|||||||
${concatMapStrings (x: " -"+x) cfg.extraOptions} \
|
${concatMapStrings (x: " -"+x) cfg.extraOptions} \
|
||||||
-not ${concatStringsSep " " cfg.excluded} \
|
-not ${concatStringsSep " " cfg.excluded} \
|
||||||
'';
|
'';
|
||||||
|
serviceConfig.RestartSec = 3;
|
||||||
serviceConfig.Restart = "always";
|
serviceConfig.Restart = "always";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user