use LoadCredential for worker-password-file
This commit is contained in:
parent
8a8ab7e38b
commit
61151c0ad9
|
@ -57,9 +57,10 @@ in
|
||||||
environment.PYTHONPATH = "${python.withPackages (_: [cfg.package])}/${python.sitePackages}";
|
environment.PYTHONPATH = "${python.withPackages (_: [cfg.package])}/${python.sitePackages}";
|
||||||
environment.MASTER_URL = ''tcp:host=localhost:port=9989'';
|
environment.MASTER_URL = ''tcp:host=localhost:port=9989'';
|
||||||
environment.BUILDBOT_DIR = buildbotDir;
|
environment.BUILDBOT_DIR = buildbotDir;
|
||||||
environment.WORKER_PASSWORD_FILE = cfg.workerPasswordFile;
|
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
LoadCredential = [ "worker-password-file:${cfg.workerPasswordFile}" ];
|
||||||
|
Environment = [ "WORKER_PASSWORD_FILE=%d/worker-password-file" ];
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
User = "buildbot-worker";
|
User = "buildbot-worker";
|
||||||
Group = "buildbot-worker";
|
Group = "buildbot-worker";
|
||||||
|
|
Loading…
Reference in a new issue