mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
buildbot NixOS modules: switch to not daemonize
1) The forking behavior of `buildbot start` is temporarily broken for mysterious reasons that I'm still looking into 2) Let systemd do the forking: no point in using two different process startup wait loops
This commit is contained in:
parent
bce352949e
commit
c390cec122
|
@ -217,11 +217,11 @@ in {
|
|||
path = cfg.packages;
|
||||
|
||||
serviceConfig = {
|
||||
Type = "forking";
|
||||
Type = "simple";
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
WorkingDirectory = cfg.home;
|
||||
ExecStart = "${cfg.package}/bin/buildbot start ${cfg.buildbotDir}";
|
||||
ExecStart = "${cfg.package}/bin/buildbot start --nodaemon ${cfg.buildbotDir}";
|
||||
};
|
||||
|
||||
preStart = ''
|
||||
|
|
|
@ -111,11 +111,11 @@ in {
|
|||
'';
|
||||
|
||||
serviceConfig = {
|
||||
Type = "forking";
|
||||
Type = "simple";
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
WorkingDirectory = cfg.home;
|
||||
ExecStart = "${cfg.package}/bin/buildbot-worker start ${cfg.buildbotDir}";
|
||||
ExecStart = "${cfg.package}/bin/buildbot-worker start --nodaemon ${cfg.buildbotDir}";
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue