File tree 1 file changed +3
-0
lines changed
nixos/modules/services/continuous-integration/hydra
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 308
308
requires = [ "hydra-init.service" ] ;
309
309
after = [ "hydra-init.service" ] ;
310
310
environment = serverEnv ;
311
+ restartTriggers = [ hydraConf ] ;
311
312
serviceConfig =
312
313
{ ExecStart =
313
314
"@${ cfg . package } /bin/hydra-server hydra-server -f -h '${ cfg . listenHost } ' "
324
325
requires = [ "hydra-init.service" ] ;
325
326
after = [ "hydra-init.service" "network.target" ] ;
326
327
path = [ cfg . package pkgs . nettools pkgs . openssh pkgs . bzip2 config . nix . package ] ;
328
+ restartTriggers = [ hydraConf ] ;
327
329
environment = env // {
328
330
PGPASSFILE = "${ baseDir } /pgpass-queue-runner" ; # grrr
329
331
IN_SYSTEMD = "1" ; # to get log severity levels
345
347
requires = [ "hydra-init.service" ] ;
346
348
after = [ "hydra-init.service" "network.target" ] ;
347
349
path = with pkgs ; [ cfg . package nettools jq ] ;
350
+ restartTriggers = [ hydraConf ] ;
348
351
environment = env ;
349
352
serviceConfig =
350
353
{ ExecStart = "@${ cfg . package } /bin/hydra-evaluator hydra-evaluator" ;
You can’t perform that action at this time.
0 commit comments