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
commitc390cec12249442a4865857b2a10d7755de0740f
authorDan Peebles <pumpkin@me.com>
dateFri 10 Mar 2017, 00:02 (10 years ago)
parentbce3529
nixos/modules/services/continuous-integration/buildbot/master.nix+2−2
@@ -217,11 +217,11 @@ in {
217217 path = cfg.packages;
218218
219219 serviceConfig = {
220− Type = "forking";
220+ Type = "simple";
221221 User = cfg.user;
222222 Group = cfg.group;
223223 WorkingDirectory = cfg.home;
224− ExecStart = "${cfg.package}/bin/buildbot start ${cfg.buildbotDir}";
224+ ExecStart = "${cfg.package}/bin/buildbot start --nodaemon ${cfg.buildbotDir}";
225225 };
226226
227227 preStart = ''
nixos/modules/services/continuous-integration/buildbot/worker.nix+2−2
@@ -111,11 +111,11 @@ in {
111111 '';
112112
113113 serviceConfig = {
114− Type = "forking";
114+ Type = "simple";
115115 User = cfg.user;
116116 Group = cfg.group;
117117 WorkingDirectory = cfg.home;
118− ExecStart = "${cfg.package}/bin/buildbot-worker start ${cfg.buildbotDir}";
118+ ExecStart = "${cfg.package}/bin/buildbot-worker start --nodaemon ${cfg.buildbotDir}";
119119 };
120120
121121 };