unclutter: prevent service restarting too soon

This commit is contained in:
rnhmjoj
2016-05-09 23:27:58 +02:00
parent b10659196b
commit e8fff51947

View File

@@ -73,6 +73,7 @@ in {
${concatMapStrings (x: " -"+x) cfg.extraOptions} \
-not ${concatStringsSep " " cfg.excluded} \
'';
serviceConfig.RestartSec = 3;
serviceConfig.Restart = "always";
};
};