nixos/services.imwheel: sleep 3s before restarting

This commit is contained in:
Marek Fajkus 2020-08-22 14:47:10 +02:00
parent c59ea8b8a0
commit dcaa2d2c74
No known key found for this signature in database
GPG key ID: 95585219BA6FE2CC

View file

@ -61,7 +61,8 @@ in
"--kill"
] ++ cfg.extraOptions);
ExecStop = "${pkgs.procps}/bin/pkill imwheel";
Restart = "on-failure";
RestartSec = 3;
Restart = "always";
};
};
};