Merge pull request #95986 from turboMaCk/imwheel-service

nixos/services.imwheel: sleep 3s before restarting
This commit is contained in:
Silvan Mosberger 2020-08-22 16:51:48 +02:00 committed by GitHub
commit af1ac757ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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