safeeyes: restart only on failure

This commit is contained in:
BjornMelgaard 2018-04-10 21:06:38 +03:00
parent def5645ba1
commit 46c270c5a6

View File

@ -39,8 +39,10 @@ in
ExecStart = ''
${pkgs.safeeyes}/bin/safeeyes
'';
Restart = "on-failure";
RestartSec = 3;
Restart = "always";
StartLimitInterval = 350;
StartLimitBurst = 10;
};
};