0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

treewide: systemd timeout arguments to use infinity instead of 0 (#50934)

Fixes https://github.com/NixOS/nixpkgs/issues/49700
This commit is contained in:
Craig Younkins 2018-11-25 07:33:22 -05:00 committed by zimbatm
parent 377e0e9b0f
commit eff461c8ef
5 changed files with 8 additions and 8 deletions

View file

@ -78,7 +78,7 @@ in
mkdir -p "$(dirname ${escapeShellArg cfg.databasePath})"
'';
serviceConfig = {
TimeoutStartSec = 0;
TimeoutStartSec = "infinity";
ExecStart = "${pkgs.osquery}/bin/osqueryd --logger_path ${escapeShellArg cfg.loggerPath} --pidfile ${escapeShellArg cfg.pidfile} --database_path ${escapeShellArg cfg.databasePath}";
KillMode = "process";
KillSignal = "SIGTERM";