unclutter: prevent service restarting too soon

This commit is contained in:
rnhmjoj 2016-05-09 23:27:58 +02:00
parent b10659196b
commit e8fff51947
No known key found for this signature in database
GPG Key ID: 362BB82B7E496B7C

View File

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